Repository 'sed_fasta'
hg clone https://toolshed.g2.bx.psu.edu/repos/brigidar/sed_fasta

Changeset 0:80f990fb3ba6 (2015-10-06)
Next changeset 1:04871c6242d2 (2015-10-06)
Commit message:
Uploaded
added:
sed-fasta.xml
b
diff -r 000000000000 -r 80f990fb3ba6 sed-fasta.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sed-fasta.xml Tue Oct 06 12:53:24 2015 -0400
b
@@ -0,0 +1,15 @@
+<tool id="cat_list" name="remove leading characters in fasta downloaded from ncbi to match genbank locus tag">
+    <description>tail-to-head</description>
+    <command>
+        cat $input1 | sed 's/gi.*gb\|//g' | sed 's/\|//g' >> $out_file1    </command>
+    <inputs>
+        <param name="input1" type="data" label="remove gi to gb characters" multiple="true" />
+    </inputs>
+    <outputs>
+        <data name="out_file1" format="input" metadata_source="input1"/>
+    </outputs>
+    <tests>
+    </tests>
+    <help>
+    </help>
+</tool>