# HG changeset patch # User brigidar # Date 1444151150 14400 # Node ID 04871c6242d273263b4571dc3926dc3662d8bce5 # Parent 80f990fb3ba665bbee9a1f2df86c88aef9499929 Uploaded diff -r 80f990fb3ba6 -r 04871c6242d2 sed-fasta.xml --- a/sed-fasta.xml Tue Oct 06 12:53:24 2015 -0400 +++ b/sed-fasta.xml Tue Oct 06 13:05:50 2015 -0400 @@ -1,9 +1,9 @@ - - tail-to-head + + remove leading characters fasta file - cat $input1 | sed 's/gi.*gb\|//g' | sed 's/\|//g' >> $out_file1 + cat $input1 | sed 's/gi.*gb[|]//g' | sed 's/[|]//g' >> $out_file1 - +