Skip to content

Python code for reading, writing, and analyzing genotypes in various file formats

Notifications You must be signed in to change notification settings

farhat-lab/GenotypeTools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GenotypeTools

genotype_matrix.py

Contains the class GenotypeMatrix, which constructs a matrix of strains by positions, with entries being SNP information at each position. Can be read from CSV file or calculated from list of strains, list of positions, and provided genotype data extracted from VCF files. Calculates allele frequencies and major/minor alleles at each site. Can be used to write fasta alignments, csv files, and GEMMA input files

About

Python code for reading, writing, and analyzing genotypes in various file formats

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages