codinghedgehog / snp_swapper Goto Github PK
View Code? Open in Web Editor NEWThis script reconstructs the base sequence using a base reference sequence in FASTA format, and a SNP loci file and indel file produced by prephix. It then does substituting, inserting, or deleting of the base sequence bases at the given locations in the provided reference base sequence. It writes out a separate regenerated base sequence for each strain in the SNP input file.