annotate MISA/clean_fasta_header.xml @ 2:16b5aa275b42 default tip

Uploaded minor revision to gff converter
author john-mccallum
date Wed, 23 Nov 2011 19:15:31 -0500
parents 3006582bfc76
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
1 <?xml version="1.0"?>
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
2 <tool id="clean_fasta_header_1" name="Clean fasta header">
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
3 <description>Removes fasta description fields in header </description>
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
4 <command>sed 's/\(>\w*\)\s*.*/\1/' $inputFastaFile > $fasta_outputfile</command>
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
5 <inputs>
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
6 <param format="fasta" name="inputFastaFile" type="data" label="fasta File"/>
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
7 </inputs>
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
8 <outputs>
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
9 <data format="fasta" name="fasta_outputfile" />
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
10 </outputs>
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
11 <help>
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
12 .. class:: infomark
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
13
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
14 **TIP**
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
15
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
16 This tool requires *fasta* format.
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
17
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
18 It simply removes any additional definition strings from the header line prior to using tools that dont handle these.
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
19
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
20 ----
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
21
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
22 **Example**
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
23
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
24 --Query sequence
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
25
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
26 ::
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
27
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
28 &gt;contig00001 gene=isogroup00001 length=2159
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
29 tttAaGCATTTAACACTGCATATTGATTGATATAGTTGTTCAGTACAAGCCAATTACATT
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
30 GTAGACATAAAACAAAGCATTCGAAACAGTTGAAATTTTGATTCCTCTATACTGGATCAG
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
31 GCGGTAATCA
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
32 &gt;contig00003 gene=isogroup00001 length=2206
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
33 ggTGGCTGCTTTCTCAAATCCACCCCTTCCCAAGGAAACCCTAAACTCGCAGATAAATTT
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
34
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
35
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
36
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
37 --Output
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
38
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
39 ::
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
40
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
41 &gt;contig00001
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
42 ttAaGCATTTAACACTGCATATTGATTGATATAGTTGTTCAGTACAAGCCAATTACATT
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
43 GTAGACATAAAACAAAGCATTCGAAACAGTTGAAATTTTGATTCCTCTATACTGGATCAG
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
44 GCGGTAATCAGGGGAAGGAAACCATGGTGTAAGGCTGCATCCCATACTTTATCTATGTCA
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
45 >contig00003
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
46 ggTGGCTGCTTTCTCAAATCCACCCCTTCCCAAGGAAACCCTAAACTCGCAGATAAATTT
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
47 GTAGGGTTTCTATGTCGACCGAGCGCCGTCGGAAAGTGAGCCTTTTCGACGTAGTTGAC
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
48 GAGACCTCAGTCTCTG...
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
49
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
50
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
51 </help>
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
52
3006582bfc76 Uploaded V1.0 MISA tools and helper scripts
john-mccallum
parents:
diff changeset
53 </tool>