Mercurial > repos > galaxyp > peptideshaker
annotate fasta_cli.xml @ 57:da885ca16cb2 draft
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 44a20633e04b2396fad4b568904a257769b2bbc1"
author | galaxyp |
---|---|
date | Tue, 16 Mar 2021 15:12:03 +0000 |
parents | bb0130ff73ce |
children | 07ff622ec007 |
rev | line source |
---|---|
57
da885ca16cb2
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 44a20633e04b2396fad4b568904a257769b2bbc1"
galaxyp
parents:
55
diff
changeset
|
1 <tool id="fasta_cli" |
da885ca16cb2
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 44a20633e04b2396fad4b568904a257769b2bbc1"
galaxyp
parents:
55
diff
changeset
|
2 name="FastaCLI" |
da885ca16cb2
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 44a20633e04b2396fad4b568904a257769b2bbc1"
galaxyp
parents:
55
diff
changeset
|
3 version="1.0.1" |
da885ca16cb2
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 44a20633e04b2396fad4b568904a257769b2bbc1"
galaxyp
parents:
55
diff
changeset
|
4 profile="20.01" |
da885ca16cb2
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 44a20633e04b2396fad4b568904a257769b2bbc1"
galaxyp
parents:
55
diff
changeset
|
5 > |
55
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
6 <description> |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
7 Appends decoy sequences to FASTA files |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
8 </description> |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
9 <macros> |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
10 <import>macros_basic.xml</import> |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
11 </macros> |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
12 <requirements> |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
13 <requirement type="package" version="@SEARCHGUI_VERSION@">searchgui</requirement> |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
14 </requirements> |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
15 <expand macro="stdio" /> |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
16 <command> |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
17 <![CDATA[ |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
18 #set $output_db_name = $input_database.display_name.replace(".fasta", "") + $database_processing_options.decoy_file_tag.value + ".fasta" |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
19 |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
20 mkdir output && |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
21 cwd=`pwd` && |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
22 |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
23 echo 'DB: ${input_database.display_name} sequences: ${input_database.metadata.sequences}' && |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
24 cp '${input_database}' '${input_database.display_name}' && |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
25 |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
26 ########################################### |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
27 #### Creating decoy database #### |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
28 ########################################### |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
29 |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
30 echo 'Creating decoy database.' && |
57
da885ca16cb2
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 44a20633e04b2396fad4b568904a257769b2bbc1"
galaxyp
parents:
55
diff
changeset
|
31 searchgui -Djava.awt.headless=true eu.isas.searchgui.cmd.FastaCLI --exec_dir="./bin/" -temp_folder `pwd` -in '${input_database.display_name}' -decoy -decoy_flag $database_processing_options.decoy_tag -suffix $database_processing_options.decoy_type -decoy_suffix $database_processing_options.decoy_file_tag && |
da885ca16cb2
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 44a20633e04b2396fad4b568904a257769b2bbc1"
galaxyp
parents:
55
diff
changeset
|
32 mv '${output_db_name}' output |
55
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
33 ]]> |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
34 </command> |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
35 <inputs> |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
36 <param format="fasta" name="input_database" type="data" label="Protein Database" |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
37 help="Select FASTA database from history"/> |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
38 |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
39 <section name="database_processing_options" expanded="true" title="Database Processing Options"> |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
40 |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
41 <param name="decoy_tag" type="text" value="-REVERSED" label="The decoy flag"> |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
42 </param> |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
43 <param name="decoy_type" type="select" label="Location of the decoy flag: prefix or suffix"> |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
44 <option value="1">Prefix</option> |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
45 <option value="2" selected="True">Suffix</option> |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
46 </param> |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
47 |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
48 <param name="decoy_file_tag" type="text" value="_concatenated_target_decoy" label="Target decoy suffix"> |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
49 </param> |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
50 |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
51 </section> |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
52 </inputs> |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
53 <outputs> |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
54 <data name="input_database_concatenated_target_decoy" format="fasta" label="${tool.name}: ${input_database.display_name} with decoys on ${on_string}"> |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
55 <discover_datasets pattern="(?P<designation>.+)\.fasta" directory="output" visible="true" format="fasta" assign_primary_output="true" /> |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
56 </data> |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
57 </outputs> |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
58 <tests> |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
59 <test> |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
60 <param name="input_database" value="fastacli_searchgui_tinydb1.fasta" ftype="fasta"/> |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
61 <output name="input_database_concatenated_target_decoy" file="fastacli_searchgui_tinydb1_concatenated_target_decoy.fasta" ftype="fasta" compare="sim_size" delta="1000" /> |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
62 </test> |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
63 </tests> |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
64 <help> |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
65 **What it does** |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
66 |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
67 Appends decoy sequences to FASTA files. Default format is adequated to be used by SearchGUI and PeptideShaker tools, ie: |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
68 |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
69 * Decoy flag: -REVERSED |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
70 |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
71 * Location: suffix |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
72 |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
73 * Target decoy suffix: _concatenated_target_decoy |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
74 |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
75 </help> |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
76 <expand macro="citations" /> |
bb0130ff73ce
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit f27e376ff604cd8faf57c63f25ddcfd61ca9db6a"
galaxyp
parents:
diff
changeset
|
77 </tool> |