@@ -0,0 +1,772 @@
+package seq;%0A%0Aimport java.io.*;%0A%0Aimport org.biojava.bio.seq.*;%0Aimport org.biojava.bio.seq.io.*;%0A%0Apublic class ReverseComplement %7B%0A  public static void main(String%5B%5D args)%0A  throws Exception %7B%0A    if(args.length %3C 2) %7B%0A      System.err.println(%22Use: seq.ReverseComplement inFile, outFile%22);%0A      System.exit(1);%0A    %7D%0A%0A    BufferedReader seqIn = new BufferedReader(%0A      new FileReader(%0A        new File(args%5B0%5D)%0A      )%0A    );%0A%0A    OutputStream seqOut = new FileOutputStream(new File(args%5B1%5D));%0A%0A    for(SequenceIterator si = SeqIOTools.readFastaDNA(seqIn); si.hasNext(); ) %7B%0A      Sequence seq = si.nextSequence();%0A      Sequence rev = SequenceTools.reverseComplement(seq);%0A      SeqIOTools.writeFasta(seqOut, rev);%0A    %7D%0A%0A    seqOut.flush();%0A    seqOut.close();%0A  %7D%0A%7D%0A

Reverse complements fasta sequences.