Mercurial > repos > peterjc > effectivet3
comparison tools/protein_analysis/effectiveT3.xml @ 2:5a8e09f115f8 draft
Uploaded v0.0.10, adds unit tests.
Includes v0.0.9 which checked error codes.
author | peterjc |
---|---|
date | Wed, 17 Apr 2013 05:26:26 -0400 |
parents | e607c342312f |
children |
comparison
equal
deleted
inserted
replaced
1:e607c342312f | 2:5a8e09f115f8 |
---|---|
1 <tool id="effectiveT3" name="Effective T3" version="0.0.8"> | 1 <tool id="effectiveT3" name="Effective T3" version="0.0.10"> |
2 <description>Find bacterial effectors in protein sequences</description> | 2 <description>Find bacterial effectors in protein sequences</description> |
3 <command interpreter="python"> | 3 <command interpreter="python"> |
4 effectiveT3.py $module.fields.path | 4 effectiveT3.py $module.fields.path |
5 #if $restrict.type=="cutoff": | 5 #if $restrict.type=="cutoff": |
6 cutoff=$restrict.cutoff | 6 cutoff=$restrict.cutoff |
7 #else: | 7 #else: |
8 $restrict.type | 8 $restrict.type |
9 #end if | 9 #end if |
10 $fasta_file $tabular_file</command> | 10 $fasta_file $tabular_file</command> |
11 <stdio> | |
12 <!-- Anything other than zero is an error --> | |
13 <exit_code range="1:" /> | |
14 <exit_code range=":-1" /> | |
15 </stdio> | |
11 <inputs> | 16 <inputs> |
12 <param name="fasta_file" type="data" format="fasta" label="FASTA file of protein sequences"/> | 17 <param name="fasta_file" type="data" format="fasta" label="FASTA file of protein sequences"/> |
13 <param name="module" type="select" display="radio" label="Classification module"> | 18 <param name="module" type="select" display="radio" label="Classification module"> |
14 <options from_file="effectiveT3.loc"> | 19 <options from_file="effectiveT3.loc"> |
15 <column name="value" index="0"/> | 20 <column name="value" index="0"/> |
31 </conditional> | 36 </conditional> |
32 </inputs> | 37 </inputs> |
33 <outputs> | 38 <outputs> |
34 <data name="tabular_file" format="tabular" label="$module.value_label results" /> | 39 <data name="tabular_file" format="tabular" label="$module.value_label results" /> |
35 </outputs> | 40 </outputs> |
41 <tests> | |
42 <test> | |
43 <param name="fasta_file" value="four_human_proteins.fasta" ftype="fasta" /> | |
44 <param name="module" value="animal" /> | |
45 <param name="type" value="selective" /> | |
46 <output name="tabular_file" file="four_human_proteins.effectiveT3.tabular" ftype="tabular" /> | |
47 </test> | |
48 <test> | |
49 <param name="fasta_file" value="empty.fasta" ftype="fasta" /> | |
50 <param name="module" value="plant" /> | |
51 <param name="type" value="sensistive" /> | |
52 <output name="tabular_file" file="empty_effectiveT3.tabular" ftype="tabular" /> | |
53 </test> | |
54 </tests> | |
36 <help> | 55 <help> |
37 | 56 |
38 **What it does** | 57 **What it does** |
39 | 58 |
40 This calls the command line Effective T3 v1.0.1 tool for prediction of bacterial effector proteins. | 59 This calls the command line Effective T3 v1.0.1 tool for prediction of bacterial effector proteins. |
41 | 60 |
42 The input is a FASTA file of protein sequences, and the output is tabular with four columns (one row per protein): | 61 The input is a FASTA file of protein sequences, and the output is tabular with four columns (one row per protein): |
43 | 62 |
44 * Sequence identifier | 63 ====== ============================================================================== |
45 * Sequence description (from the FASTA file) | 64 Column Description |
46 * Score (between 0 and 1, or negative for an error such as a very short peptide) | 65 ------ ------------------------------------------------------------------------------ |
47 * Predicted effector (true/false) | 66 1 Sequence identifier |
67 2 Sequence description (from the FASTA file) | |
68 3 Score (between 0 and 1, or negative for an error such as a very short peptide) | |
69 4 Predicted effector (true/false) | |
70 ====== ============================================================================== | |
71 | |
48 | 72 |
49 **References** | 73 **References** |
50 | 74 |
51 Jehl, Arnold and Rattei. | 75 Jehl, Arnold and Rattei. |
52 Effective - a database of predicted secreted bacterial proteins | 76 Effective - a database of predicted secreted bacterial proteins |