This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Reverse complement only sequences resulted from BLASTN minus

Hi, I'm struggling trying to reverse complement some mitochondrial genome sequences, I blastned hundreds of mitogenome fasta files resulted in something like this:

C11_2.txt
plus

D12_2.txt
minus

FG18_2.txt
minus

Everyone of these .txt have an associated .fasta sequence like this:

C11_2.fasta
>C11_2
ATCTTTAAACCCCCCC

D12_2.fasta
>D12_2
AAAAAAATTTTGGGGG

I want to reverse complement only those .fasta files for which the associated .txt have minus.

I'm mainly familiarized with bash.

Thanks for the help!

dna fasta bash

0 answers

No answers yet.

Log in to answer this question.