Skip to content

A simply python script to randomly convert ambiguity codes in a FASTA file.

Notifications You must be signed in to change notification settings

markravinet/convert_ambiguity_codes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

convert_ambiguity_codes

A simply python script to randomly convert ambiguity codes in a FASTA file.

A range of coalescent modelling methods require FASTA sequences generated from whole-genome requencing data. Heterozygouse base calls can be a bit of headache in these cases. So a simple way around this is simply to generate a consensus fasta file and then randomly choose one of the segregating alleles based on the ambiguity codes.

This is exactly what this python script does. It's relatively fast and extremely simple. It will only accept FASTA files.

About

A simply python script to randomly convert ambiguity codes in a FASTA file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages