annotate pi_dbspec_align.xml @ 3:78afc81ab244 draft default tip

planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit decb06dc90d7069d317968b979f649a04720b264
author galaxyp
date Thu, 14 Sep 2017 11:55:02 -0400
parents 77ddaee887a8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
1 <tool id="pi_dbspec_align" name="Align DB fractions" version="0.3">
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
2 <description>to resemble spectra fraction scheme</description>
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
3 <requirements>
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
4 <requirement type="package" version="3.6">python</requirement>
3
78afc81ab244 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit decb06dc90d7069d317968b979f649a04720b264
galaxyp
parents: 2
diff changeset
5 <requirement type="package" version="1.70">biopython</requirement>
2
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
6 </requirements>
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
7 <command detect_errors="exit_code">
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
8 <![CDATA[
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
9 mkdir aligned_out &&
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
10 python '$__tool_directory__/align_dbspec.py'
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
11 --specnames $specnames
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
12 --dbfiles
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
13 #for $key in $databases.keys()
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
14 '$databases[$key]'
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
15 #end for
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
16 --frspec '$frspec'
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
17 --firstfr $firstfr
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
18
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
19 ]]>
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
20 </command>
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
21
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
22 <inputs>
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
23 <param name="specnames" type="data" format="text,tabular" label="Spectra files" />
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
24 <param name="databases" type="data_collection" collection_type="list" format="fasta" label="Fractionated databases" />
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
25 <param name="frspec" type="text" label="Regex to find fraction numbers in spectra file names" help="If spectra file is called myspectra_fr01b.mzML, use .*fr([0-9]+).*" >
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
26 <sanitizer>
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
27 <valid initial="string.printable">
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
28 <remove value="&apos;"/>
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
29 </valid>
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
30 </sanitizer>
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
31 </param>
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
32 <param name="firstfr" type="integer" value="1" label="First fraction number in series" />
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
33 </inputs>
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
34
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
35 <outputs>
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
36 <collection name="aligned_db" type="list" label="spectra-fraction-aligned DB">
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
37 <discover_datasets pattern="__designation__" ext="fasta" directory="aligned_out" />
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
38 </collection>
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
39 </outputs>
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
40 <tests>
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
41 <test>
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
42 <param name="specnames" value="specnames.txt" />
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
43 <param name="databases">
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
44 <collection type="list">
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
45 <element name="fr1" value="target_splitdb_fr1.fasta" />
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
46 <element name="fr2" value="target_splitdb_fr2.fasta" />
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
47 <element name="fr3" value="target_splitdb_fr3.fasta" />
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
48 <element name="fr4" value="decoy_splitdb_fr1.fasta" />
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
49 <element name="fr5" value="decoy_splitdb_fr2.fasta" />
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
50 <element name="fr6" value="decoy_splitdb_fr3.fasta" />
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
51 <element name="fr7" value="decoy_splitdb_fr1.fasta" />
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
52 <element name="fr8" value="decoy_splitdb_fr2.fasta" />
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
53 <element name="fr9" value="decoy_splitdb_fr3.fasta" />
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
54 </collection>
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
55 </param>
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
56 <param name="frspec" value=".*c_f([0-9]+).*" />
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
57 <param name="firstfr" value="1" />
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
58 <output_collection name="aligned_db" type="list">
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
59 <element name="spec_f01.mzML" value="target_splitdb_fr1.fasta" />
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
60 <element name="spec_f02.mzML" value="target_splitdb_fr2.fasta" />
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
61 <element name="spec_f03.mzML" value="target_splitdb_fr3.fasta" />
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
62 <element name="spec_f03b.mzML" value="target_splitdb_fr3.fasta" />
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
63 <element name="spec_f09.mzML" value="merged_twice_decoy_fr1-3.fasta" compare="sim_size" />
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
64 <element name="spec_f09b.mzML" value="merged_twice_decoy_fr1-3.fasta" compare="sim_size" />
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
65 </output_collection>
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
66 </test>
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
67 </tests>
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
68
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
69 <help>
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
70 Filters, pools and doubles fractionated databases with a set of identically fractionated spectra files which have been
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
71 subjected to pooling and contain reruns.
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
72 You may have fraction 1-10 in databases but spectra file fractions 4-7 have been pooled before loading to the MS,
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
73 and spectra fraction 2 and 8 have been reran creating fractions 2 and 2a, and 8, 8a and 8b.
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
74 This tool pools FASTA databases and duplicates them where needed to line up the databases to your spectra collections.
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
75 </help>
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
76
77ddaee887a8 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit 71a4265d11aef48342142b8cf2caa86f79f9a554
galaxyp
parents:
diff changeset
77 </tool>