You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# reverse complements sequences that are specified in a file
# for each sequence in the fasta file, if the name of the sequence is in the names file, the program will get it's reverse complement and write it to the new file. if it's not, it writes the original sequence to the fasta file
to_write = []
for record in SeqIO.parse("scaffolds.reduced.fa", "fasta"):
with open('scaffs_to_convert.txt') as scaffs_to_convert: