Giter VIP home page Giter VIP logo

making_migrate_files's Introduction

Making_migrate_files

You can make two different migrate file types you can using the code in this repository.

-- Option 1 makes a locus-level migrate file. It is designed to take the output from https://github.com/laninsky/phase_everyone (fasta files by allele by sample, not by locus). However, if you have separate fasta files per locus, with diploid genotypes for individual samples collapsed to ambiguity codes, you can probably puzzle your way starting from Step 2.

-- Option 2 makes a SNP-level migrate file from a structure file (where 0=missing data, 1=A, 2=C, 3=G, 4=T). This structure file should have no locus-header row or pop_ID column (i.e. just the sample names and data).

Suggested citation

This code was first published in: Varanus TBD

If you could cite the pub, and the progam as below, that would be lovely:

Alexander, A. 2015. making_migrate_files v0.0.0. Available from https://github.com/laninsky/Making_migrate_files

This pipeline also wouldn't be possible without:

R: R Core Team. 2015. R: A language and environment for statistical computing. URL http://www.R-project.org/. R Foundation for Statistical Computing, Vienna, Austria. https://www.r-project.org/

Version history

v0.0.1: updated the SNP code so that it didn't break for missing populations at a locus, but just skips over and does not write that locus out.

v0.0.0: still a work in progress

making_migrate_files's People

Contributors

laninsky avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.