Mercurial > repos > galaxyp > mzsqlite_psm_align
annotate mzsqlite_psm_align.xml @ 1:4f8cf8fbef57 draft default tip
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit b0c57cac4e558d974a16b14d4498cf8d4ba9e0c7
author | galaxyp |
---|---|
date | Thu, 19 Apr 2018 14:30:28 -0400 |
parents | f2dc9805107a |
children |
rev | line source |
---|---|
1
4f8cf8fbef57
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit b0c57cac4e558d974a16b14d4498cf8d4ba9e0c7
galaxyp
parents:
0
diff
changeset
|
1 <tool id="mzsqlite_psm_align" name="MzSQLite ProBAM ProBED" version="0.1.0"> |
4f8cf8fbef57
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit b0c57cac4e558d974a16b14d4498cf8d4ba9e0c7
galaxyp
parents:
0
diff
changeset
|
2 <description>from mz.sqlite and genomic mapping</description> |
0
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
3 <requirements> |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
4 <requirement type="package">biopython</requirement> |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
5 <requirement type="package">twobitreader</requirement> |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
6 <requirement type="package">pysam</requirement> |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
7 <requirement type="package">gffutils</requirement> |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
8 </requirements> |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
9 <command detect_errors="exit_code"><![CDATA[ |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
10 #if $readlignments: |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
11 ln -s -f '${$readlignments}' 'input.bam' && |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
12 ln -s -f '${$readlignments.metadata.bam_index}' 'input.bam.bai' && |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
13 #end if |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
14 python '$__tool_directory__/mzsqlite_psm_align.py' |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
15 #if $ref.ref_source == 'cached': |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
16 --twobit='$ref.ref_loc.fields.path' |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
17 #elif $ref.ref_source == 'history': |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
18 --twobit='$ref.ref_file' |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
19 #end if |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
20 #if $gffutilsdb: |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
21 --gffutils_sqlite '$gffutilsdb' |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
22 #end if |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
23 #if $readlignments: |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
24 --reads_bam 'input.bam' |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
25 #end if |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
26 #if 'probed' in str($output_formats).split(','): |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
27 --probed '$probed' |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
28 #end if |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
29 #if 'prosam' in str($output_formats).split(','): |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
30 --prosam '$prosam' |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
31 #end if |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
32 #if 'probam' in str($output_formats).split(','): |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
33 --probam '$probam' |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
34 #end if |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
35 #if $genomicref: |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
36 --genomeReference $genomicref |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
37 #else |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
38 --genomeReference $genomicdb.metadata.dbkey |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
39 #end if |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
40 -v |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
41 '$mzsqlitedb' '$genomicdb' |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
42 ]]></command> |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
43 <inputs> |
1
4f8cf8fbef57
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit b0c57cac4e558d974a16b14d4498cf8d4ba9e0c7
galaxyp
parents:
0
diff
changeset
|
44 <param name="mzsqlitedb" type="data" format="mz.sqlite" label="mz.sqlite database" |
4f8cf8fbef57
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit b0c57cac4e558d974a16b14d4498cf8d4ba9e0c7
galaxyp
parents:
0
diff
changeset
|
45 help="generated from mzIndentML by mz_to_sqlite"/> |
4f8cf8fbef57
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit b0c57cac4e558d974a16b14d4498cf8d4ba9e0c7
galaxyp
parents:
0
diff
changeset
|
46 <param name="genomicdb" type="data" format="sqlite" label="genomic mapping sqlite database" |
4f8cf8fbef57
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit b0c57cac4e558d974a16b14d4498cf8d4ba9e0c7
galaxyp
parents:
0
diff
changeset
|
47 help="Genomic mapping for the Search proteins in the mzIdentML"/> |
0
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
48 <conditional name="ref"> |
1
4f8cf8fbef57
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit b0c57cac4e558d974a16b14d4498cf8d4ba9e0c7
galaxyp
parents:
0
diff
changeset
|
49 <param name="ref_source" type="select" label="Source for Genomic Sequence Data" |
4f8cf8fbef57
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit b0c57cac4e558d974a16b14d4498cf8d4ba9e0c7
galaxyp
parents:
0
diff
changeset
|
50 help="Used to generate the genomic reference sequence for idenfied peptides"> |
0
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
51 <option value="cached">Locally cached twobit</option> |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
52 <option value="history">History dataset twobit</option> |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
53 </param> |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
54 <when value="cached"> |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
55 <param name="ref_loc" type="select" label="Select reference 2bit file"> |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
56 <options from_data_table="twobit" /> |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
57 </param> |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
58 </when> |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
59 <when value="history"> |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
60 <param name="ref_file" type="data" format="twobit" label="reference 2bit file" /> |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
61 </when> |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
62 </conditional> |
1
4f8cf8fbef57
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit b0c57cac4e558d974a16b14d4498cf8d4ba9e0c7
galaxyp
parents:
0
diff
changeset
|
63 <param name="gffutilsdb" type="data" format="sqlite" label="gffutils sqlite database" optional="true" |
4f8cf8fbef57
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit b0c57cac4e558d974a16b14d4498cf8d4ba9e0c7
galaxyp
parents:
0
diff
changeset
|
64 help="Categorizes the peptide by GTF feature for the proBAM XG tag" /> |
4f8cf8fbef57
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit b0c57cac4e558d974a16b14d4498cf8d4ba9e0c7
galaxyp
parents:
0
diff
changeset
|
65 <param name="readlignments" type="data" format="bam" label="read alignments bam" optional="true" |
4f8cf8fbef57
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit b0c57cac4e558d974a16b14d4498cf8d4ba9e0c7
galaxyp
parents:
0
diff
changeset
|
66 help="Allows proBAM SEQ field to be modified with observed variants"/> |
4f8cf8fbef57
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit b0c57cac4e558d974a16b14d4498cf8d4ba9e0c7
galaxyp
parents:
0
diff
changeset
|
67 <param name="genomicref" type="text" value="" label="Genome Reference name" optional="true" |
4f8cf8fbef57
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit b0c57cac4e558d974a16b14d4498cf8d4ba9e0c7
galaxyp
parents:
0
diff
changeset
|
68 help="The genome reference name to use in the proBED genomeReferenceVersion column"/> |
0
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
69 <param name="output_formats" type="select" display="checkboxes" label="outputs" multiple="true"> |
1
4f8cf8fbef57
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit b0c57cac4e558d974a16b14d4498cf8d4ba9e0c7
galaxyp
parents:
0
diff
changeset
|
70 <option value="probam" selected="true">pro.bam</option> |
0
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
71 <option value="prosam">pro.sam</option> |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
72 <option value="probed">pro.bed</option> |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
73 </param> |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
74 </inputs> |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
75 <outputs> |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
76 <data name="prosam" format="sam" label="pro.SAM on ${on_string}"> |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
77 <filter>'prosam' in output_formats</filter> |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
78 </data> |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
79 <data name="probam" format="bam" label="pro.Bam on ${on_string}"> |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
80 <filter>'probam' in output_formats</filter> |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
81 </data> |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
82 <data name="probed" format="bed" label="pro.Bed on ${on_string}"> |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
83 <filter>'probed' in output_formats</filter> |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
84 </data> |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
85 </outputs> |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
86 <help><![CDATA[ |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
87 |
1
4f8cf8fbef57
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit b0c57cac4e558d974a16b14d4498cf8d4ba9e0c7
galaxyp
parents:
0
diff
changeset
|
88 Generates proBAM_ or proBED_ feature alignment files for peptides identified from a mass spectrometry protein search analysis. |
4f8cf8fbef57
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit b0c57cac4e558d974a16b14d4498cf8d4ba9e0c7
galaxyp
parents:
0
diff
changeset
|
89 |
0
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
90 |
1
4f8cf8fbef57
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit b0c57cac4e558d974a16b14d4498cf8d4ba9e0c7
galaxyp
parents:
0
diff
changeset
|
91 The tool mz_to_sqlite_ generates the a SQLite database for a mzIdentML file, |
0
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
92 along with the fasta search database and the spectrum files used in the search. |
1
4f8cf8fbef57
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit b0c57cac4e558d974a16b14d4498cf8d4ba9e0c7
galaxyp
parents:
0
diff
changeset
|
93 This mz.sqlite database is used in conjuction with a genomic mapping sqlite database |
4f8cf8fbef57
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit b0c57cac4e558d974a16b14d4498cf8d4ba9e0c7
galaxyp
parents:
0
diff
changeset
|
94 to generate the proBAM_ or proBED_ feature alignment files. |
0
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
95 |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
96 The genomic mapping sqlite database has this schema: |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
97 |
1
4f8cf8fbef57
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit b0c57cac4e558d974a16b14d4498cf8d4ba9e0c7
galaxyp
parents:
0
diff
changeset
|
98 :: |
4f8cf8fbef57
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit b0c57cac4e558d974a16b14d4498cf8d4ba9e0c7
galaxyp
parents:
0
diff
changeset
|
99 |
0
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
100 CREATE TABLE feature_cds_map ( /* One row for each exon in the search protein */ |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
101 name TEXT, /* Accession name of search protein in mzIdentML */ |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
102 chrom TEXT, /* Reference genome chromosome for this exon */ |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
103 start INTEGER, /* genomic start of the exon (zero-based like BED) */ |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
104 end INTEGER, /* genomic end of the exon (non-incluse like BED) */ |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
105 strand TEXT, /* genomic strand: '+' or '-' */ |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
106 cds_start INTEGER, /* The CDS coding start for this exon (zero-based) */ |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
107 cds_end INTEGER /* The CDS coding start end this exon (non-inclusive) */ |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
108 ); |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
109 |
1
4f8cf8fbef57
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit b0c57cac4e558d974a16b14d4498cf8d4ba9e0c7
galaxyp
parents:
0
diff
changeset
|
110 |
0
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
111 Example: |
1
4f8cf8fbef57
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit b0c57cac4e558d974a16b14d4498cf8d4ba9e0c7
galaxyp
parents:
0
diff
changeset
|
112 |
4f8cf8fbef57
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit b0c57cac4e558d974a16b14d4498cf8d4ba9e0c7
galaxyp
parents:
0
diff
changeset
|
113 :: |
4f8cf8fbef57
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit b0c57cac4e558d974a16b14d4498cf8d4ba9e0c7
galaxyp
parents:
0
diff
changeset
|
114 |
0
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
115 sqlite> select * from feature_cds_map WHERE name like 'ENSMUSP00000000001%'; |
1
4f8cf8fbef57
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit b0c57cac4e558d974a16b14d4498cf8d4ba9e0c7
galaxyp
parents:
0
diff
changeset
|
116 name chrom start end strand cds_start cds_end |
0
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
117 ENSMUSP00000000001 chr3 108145887 108146005 - 0 118 |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
118 ENSMUSP00000000001 chr3 108123794 108123837 - 118 161 |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
119 ENSMUSP00000000001 chr3 108123541 108123683 - 161 303 |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
120 ENSMUSP00000000001 chr3 108118300 108118458 - 303 461 |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
121 ENSMUSP00000000001 chr3 108115762 108115891 - 461 590 |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
122 ENSMUSP00000000001 chr3 108112472 108112602 - 590 720 |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
123 ENSMUSP00000000001 chr3 108111934 108112088 - 720 874 |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
124 ENSMUSP00000000001 chr3 108109421 108109612 - 874 1065 |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
125 |
1
4f8cf8fbef57
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit b0c57cac4e558d974a16b14d4498cf8d4ba9e0c7
galaxyp
parents:
0
diff
changeset
|
126 Each row represents an exon in the search protein. |
4f8cf8fbef57
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit b0c57cac4e558d974a16b14d4498cf8d4ba9e0c7
galaxyp
parents:
0
diff
changeset
|
127 The locations: start,end, cds_start, and cds_end are **zero-based** like BED format. |
4f8cf8fbef57
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit b0c57cac4e558d974a16b14d4498cf8d4ba9e0c7
galaxyp
parents:
0
diff
changeset
|
128 |
4f8cf8fbef57
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit b0c57cac4e558d974a16b14d4498cf8d4ba9e0c7
galaxyp
parents:
0
diff
changeset
|
129 The **name** field must match the **accession** name used in the mz.sqlite database |
4f8cf8fbef57
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit b0c57cac4e558d974a16b14d4498cf8d4ba9e0c7
galaxyp
parents:
0
diff
changeset
|
130 and thus the mzIdentML search results file. |
4f8cf8fbef57
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit b0c57cac4e558d974a16b14d4498cf8d4ba9e0c7
galaxyp
parents:
0
diff
changeset
|
131 |
4f8cf8fbef57
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit b0c57cac4e558d974a16b14d4498cf8d4ba9e0c7
galaxyp
parents:
0
diff
changeset
|
132 The protein positions are described in CDS base offsets rather than Animo Acids offsets |
4f8cf8fbef57
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit b0c57cac4e558d974a16b14d4498cf8d4ba9e0c7
galaxyp
parents:
0
diff
changeset
|
133 to allow for codons being split across exons. |
4f8cf8fbef57
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit b0c57cac4e558d974a16b14d4498cf8d4ba9e0c7
galaxyp
parents:
0
diff
changeset
|
134 |
0
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
135 This schema can describe structural variants as well as canonical transcripts. |
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
136 |
1
4f8cf8fbef57
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit b0c57cac4e558d974a16b14d4498cf8d4ba9e0c7
galaxyp
parents:
0
diff
changeset
|
137 .. _proBAM: http://www.psidev.info/probam |
4f8cf8fbef57
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit b0c57cac4e558d974a16b14d4498cf8d4ba9e0c7
galaxyp
parents:
0
diff
changeset
|
138 .. _proBED: http://www.psidev.info/probed |
4f8cf8fbef57
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit b0c57cac4e558d974a16b14d4498cf8d4ba9e0c7
galaxyp
parents:
0
diff
changeset
|
139 .. _mz_to_sqlite: https://toolshed.g2.bx.psu.edu/view/galaxyp/mz_to_sqlite/e34bdac5b157 |
4f8cf8fbef57
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit b0c57cac4e558d974a16b14d4498cf8d4ba9e0c7
galaxyp
parents:
0
diff
changeset
|
140 |
0
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
141 ]]></help> |
1
4f8cf8fbef57
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit b0c57cac4e558d974a16b14d4498cf8d4ba9e0c7
galaxyp
parents:
0
diff
changeset
|
142 <citations> |
4f8cf8fbef57
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit b0c57cac4e558d974a16b14d4498cf8d4ba9e0c7
galaxyp
parents:
0
diff
changeset
|
143 <citation type="doi">10.1186/s13059-017-1377-x</citation> |
4f8cf8fbef57
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit b0c57cac4e558d974a16b14d4498cf8d4ba9e0c7
galaxyp
parents:
0
diff
changeset
|
144 </citations> |
0
f2dc9805107a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mzsqlite_psm_align commit 464e05be1084ed9a65b542c8eabb18147d425666
galaxyp
parents:
diff
changeset
|
145 </tool> |