14
|
1 <tool id="transcriptsToOrfs" name="transcriptsToOrfs" version="0.0.1">
|
|
2
|
|
3 <description>Trinity Transcripts to Candidate Peptides</description>
|
|
4 <requirements>
|
|
5 <requirement type="package">trinity</requirement>
|
|
6 </requirements>
|
|
7 <command interpreter="python">
|
|
8 trinityToolWrapper.py Analysis/Coding/transcripts_to_best_scoring_ORFs.pl
|
|
9
|
|
10 -t $transcripts
|
|
11 -m $min_prot_length
|
|
12 --CPU $CPU
|
|
13 --search_pfam "${ filter( lambda x: str( x[0] ) == str( $pfam_db ), $__app__.tool_data_tables[ 'pfam_databases' ].get_fields() )[0][-1] }"
|
|
14
|
|
15 #if str($strand_specificity) == 'SS':
|
|
16 -S
|
|
17 #end if
|
|
18
|
|
19 ## direct to output
|
|
20 > output
|
|
21
|
|
22 </command>
|
|
23 <inputs>
|
|
24
|
|
25 <param format="fasta" name="transcripts" type="data" label="Transcripts sequences in fastA format" help="" />
|
|
26
|
|
27 <param name="min_prot_length" type="integer" label="Minimum peptide length (in amino acids)" value="100" min="50" help="" />
|
|
28
|
|
29 <param name="strand_specificity" type="select" label="Strand specificity type">
|
|
30 <option value="DS">NOT strand specific, examine both strands</option>
|
|
31 <option value="SS">Strand specific, examine only top strand</option>
|
|
32 </param>
|
|
33
|
|
34 <param name="pfam_db" type="select" label="Pfam database">
|
|
35 <options from_data_table="pfam_databases" />
|
|
36 </param>
|
|
37
|
|
38 <param name="CPU" type="integer" value="2" min="1" label="CPU" help="Number of CPUs to use by hmmscan" />
|
|
39
|
|
40 </inputs>
|
|
41 <outputs>
|
|
42 <data format="txt" name="trinity_pep_pfam" label="${tool.name} on ${on_string}: Pfam matches to Candidate Peptide Sequences" from_work_dir="longest_orfs.pep.pfam.dat"/>
|
|
43 <data format="fasta" name="trinity_pep_seqs" label="${tool.name} on ${on_string}: Candidate Peptide Sequences" from_work_dir="best_candidates.eclipsed_orfs_removed.pep"/>
|
|
44 <data format="bed" name="trinity_pep_coords" label = "${tool.name} on ${on_string} Candidate Peptide Coordinates" from_work_dir="best_candidates.eclipsed_orfs_removed.bed" />
|
|
45 </outputs>
|
|
46 <tests>
|
|
47 </tests>
|
|
48 <help>
|
|
49 Trinity is a de novo transcript assembler that uses RNA-seq data as input. This tool runs all Trinity_ commands--Inchworm, Chrysalis, and Butterfly--in a single pass.
|
|
50
|
|
51 .. _Trinity: http://trinityrnaseq.sourceforge.net
|
|
52 </help>
|
|
53 </tool>
|