Mercurial > repos > bgruening > protease_prediction
annotate protease.xml @ 0:c7a363d7ab26 draft default tip
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
author | bgruening |
---|---|
date | Sat, 12 Mar 2016 19:28:41 -0500 |
parents | |
children |
rev | line source |
---|---|
0
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
1 <tool id="eden_protease_prediction" name="Protease prediction" version="@VERSION@"> |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
2 <description>based on cleavage sites</description> |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
3 <macros> |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
4 <import>macros.xml</import> |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
5 </macros> |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
6 <expand macro="requirements"/> |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
7 <expand macro="stdio"/> |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
8 <version_command>echo "@VERSION@"</version_command> |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
9 <command><![CDATA[ |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
10 python $__tool_directory__/protease.py |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
11 #if $selected_tasks.selected_task == 'fit': |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
12 fit |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
13 -i $selected_tasks.infile_train |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
14 --negative-ratio $selected_tasks.options.negative_ratio |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
15 --shuffle-order $selected_tasks.options.shuffle_order |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
16 -r $selected_tasks.options.random_state |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
17 #else: |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
18 predict |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
19 -m $selected_tasks.infile_model |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
20 -i $selected_tasks.infile_data |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
21 #end if |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
22 ]]> |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
23 </command> |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
24 <inputs> |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
25 <expand macro="loadConditional"> |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
26 <section name="options" title="Advanced Options" expanded="False"> |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
27 <param name="negative_ratio" type="integer" optional="true" value="2" label="Negative to positive instance ratio" |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
28 help="Relative size ratio for the randomly permuted negative instances w.r.t. the positive instances." /> |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
29 <param name="shuffle_order" type="integer" optional="true" value="2" label="Order of k-mer shuffling" |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
30 help="Order of the k-mer for the random shuffling procedure." /> |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
31 <param name="random_state" type="integer" value="1" label="Random seed" /> |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
32 </section> |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
33 </expand> |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
34 </inputs> |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
35 <outputs> |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
36 <data format="tabular" name="outfile_predict" from_work_dir="out/predictions.txt"> |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
37 <filter>selected_tasks['selected_task'] == 'predict'</filter> |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
38 </data> |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
39 <data format="eden_model" name="outfile_fit" from_work_dir="out/model"> |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
40 <filter>selected_tasks['selected_task'] == 'fit'</filter> |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
41 </data> |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
42 </outputs> |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
43 <tests> |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
44 <test> |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
45 <param name="infile_train" value="CTSL_train.fasta" ftype="fasta"/> |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
46 <param name="selected_task" value="fit"/> |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
47 <param name="shuffle_order" value="3"/> |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
48 <output name="outfile_fit" file="model" ftpye="eden_model" compare="sim_size" delta="100000"/> |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
49 </test> |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
50 <test> |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
51 <param name="infile_model" value="model" ftype="eden_model"/> |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
52 <param name="infile_data" value="CTSL_test.fasta" ftype="fasta"/> |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
53 <param name="selected_task" value="predict"/> |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
54 <output name="outfile_predict" file="predictions.txt" ftpye="tabular"/> |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
55 </test> |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
56 </tests> |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
57 <help><![CDATA[ |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
58 **What it does** |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
59 |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
60 This tool can learn the cleavage specificity of a given class of protease. In a second step this can be used to predict proteases given a cleavage site. |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
61 The method assumes that the candidate cleavage point is between the two amino acids adjacent to the central position. |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
62 The method is based on an efficient string kernel implemented in the Explicit Decomposition with Neighbourhood (EDeN) library. |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
63 This approach uses the notion of k-mers with gaps to enumerate all possible substrings of increasing order which are used as features in an efficient linear binary classification estimator. |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
64 |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
65 **Example Input** |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
66 |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
67 :: |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
68 |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
69 >CTSL1 |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
70 SSFVSNWD |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
71 >CTSL1 |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
72 SSIQATTA |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
73 >CTSL1 |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
74 SSLAGCQI |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
75 >CTSL1 |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
76 SSLGGTVV |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
77 |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
78 |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
79 ]]></help> |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
80 <expand macro="eden_citation"/> |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
81 </tool> |