annotate protxml_to_gff.xml @ 0:28067ed4ea0e draft

Docker support and update for protk 1.4
author iracooke
date Thu, 26 Mar 2015 20:11:34 -0400
parents
children 68d8c9e521d7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
1 <tool id="protxml_to_gff" name="Proteomics to GFF" version="1.1.0">
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
2 <description>Export Proteomics Data to GFF</description>
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
3
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
4 <requirements>
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
5 <container type="docker">iracooke/protk-1.4.1</container>
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
6 <requirement type="package" version="1.4">protk</requirement>
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
7 <requirement type="package" version="2.2.29">blast+</requirement>
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
8 </requirements>
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
9
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
10 <command>
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
11 protxml_to_gff.rb $protxml_file
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
12
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
13 #if $database.source_select=="built_in":
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
14 -d $database.dbkey
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
15 #else
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
16 -d $database.fasta_file
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
17 #end if
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
18
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
19 -c $gene_file
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
20
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
21 --gff-idregex='$gffidpattern'
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
22
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
23 -o $output
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
24
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
25
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
26 </command>
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
27
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
28 <stdio>
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
29 <exit_code range="1:" level="fatal" description="Failure" />
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
30 </stdio>
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
31
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
32 <inputs>
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
33 <conditional name="database">
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
34 <param name="source_select" type="select" label="Database source used for Proteomics Searches" help="Database should be an amino acid fasta file with entry id's that can be parsed to obtain contig or scaffold ids referenced in your gff file">
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
35 <option value="input_ref">Your Upload File</option>
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
36 <option value="built_in">Built-In</option>
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
37 </param>
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
38 <when value="built_in">
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
39 <param name="dbkey" type="select" format="text" >
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
40 <label>Database</label>
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
41 <options from_file="pepxml_databases.loc">
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
42 <column name="name" index="0" />
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
43 <column name="value" index="2" />
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
44 </options>
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
45 </param>
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
46 </when>
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
47 <when value="input_ref">
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
48 <param name="fasta_file" type="data" format="fasta" label="Uploaded FASTA file" />
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
49 </when>
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
50 </conditional>
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
51
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
52 <param name="protxml_file" type="data" format="protxml" multiple="false" label="Proteomics Search Results" help="A ProtXML file produced by Protein Prophet"/>
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
53
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
54 <param name="gene_file" type="data" format="gff3" multiple="false" label="Protein coordinates" help="A gff3 file with coordinates for all protein entries used for proteomics searches. Coordinates should correspond to entries in the genome fasta file"/>
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
55
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
56 <param name="gffidpattern" size="40" type="text" value="lcl\|([^ ]*)" label="gff id regex" help="Regex with capture group for parsing gff ids from protein ids">
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
57 <sanitizer>
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
58 <valid initial="string.printable">
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
59 <remove value="&apos;"/>
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
60 </valid>
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
61 <mapping initial="none">
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
62 <add source="&apos;" target="__sq__"/>
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
63 </mapping>
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
64 </sanitizer>
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
65 </param>
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
66
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
67 </inputs>
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
68
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
69 <outputs>
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
70 <data format="gff3" name="output" />
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
71 </outputs>
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
72
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
73
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
74 <tests>
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
75 <test>
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
76 <param name="source_select" value="input_ref"/>
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
77 <param name="fasta_file" value="small_prot.fasta" format="fasta"/>
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
78
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
79 <param name="protxml_file" value="small.prot.xml" format="protxml"/>
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
80 <param name="gene_file" value="small_combined.gff" format="gff3"/>
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
81 <output name="output" format="gff3">
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
82 <assert_contents>
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
83 <has_text text="polypeptide" />
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
84 </assert_contents>
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
85 </output>
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
86 </test>
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
87 </tests>
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
88
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
89 <help>
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
90
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
91 **What it does**
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
92
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
93 Exports peptides and proteins to gff
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
94
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
95 ----
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
96
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
97 **References**
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
98
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
99
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
100 </help>
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
101
28067ed4ea0e Docker support and update for protk 1.4
iracooke
parents:
diff changeset
102 </tool>