Coder Social home page Coder Social logo

zhuochenbioinfo / popgen Goto Github PK

View Code? Open in Web Editor NEW
9.0 0.0 4.0 53 KB

Small scripts for population genetics analysis

License: MIT License

Perl 97.48% R 2.52%
population-genomics population-genetics bioinformatics genomics fasta-sequence vcf eigenstart-geno treemix

popgen's Introduction

PopGen

Small scripts for population genetics analysis.

Most of the scripts contain detailed usage in the codes.

By Zhuo CHEN, mail: [email protected] or [email protected]

SNP_group_ratio.pl

Calculate SNP allele frequency for selected groups of samples.

color_nexus_tree.pl

Add color annotation to samples in a nexus format tree. The colors are added to the branches.

dissect_admixture_Q.pl

Dissect the output Q file of ADMIXTURE population structure inference.

eigenstartgeno_to_fasta.pl

Transform eigenstart geno file to fasta sequence file.

eigenstartgeno_to_fasta.withRefSeq.pl

Transform eigenstart geno file to fasta sequence file, with a pseudo reference sequence.

hapmap_to_eigenstartgeno.pl

Transform hapmap format file to eigenstart geno file. May not adapt to all types of hapmap file.

hetPi.pl

Nucleotide diversity parameter Pi, with heterozygous genotype treated as an independent genotype.

vcf2treemix.pl

Transform VCF file to group allele frequency table. Prepare input file for Treemix. TreeMix is a method for inferring the patterns of population splits and mixtures in the history of a set of populations.

vcf_to_eigenstartgeno.pl

Transform VCF file to eigenstart geno format. Typically for ADMIXTURE inputs.

vcf_to_fasta.pl

Pick SNPs from VCF file and transform to aligned fasta format sequences for selected samples. Commonly used for the construction of clustering trees.

popgen's People

Contributors

zhuochenbioinfo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.