Commit 88f058f8 authored by Mathieu Giraud's avatar Mathieu Giraud

revcomp-fasta.py: revcomp Fasta sequences, from stdin to stdout

parent af230dc6
'''
python revcomp-fasta.py < in.fa > out.fa
'''
import fasta
import sys
for f in fasta.parse_as_Fasta(sys.stdin):
f.revcomp()
sys.stdout.write(str(f))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment