Mercurial > repos > galaxyp > idpquery
comparison idpquery.xml @ 0:4c1e8f2243ce draft
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/idpquery commit 3b8a4b0b93d2270f3a31fe67d7c09c73046ceb4c-dirty
| author | galaxyp |
|---|---|
| date | Tue, 15 Sep 2015 17:10:20 -0400 |
| parents | |
| children | 9682d5d021ab |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:4c1e8f2243ce |
|---|---|
| 1 <?xml version="1.0"?> | |
| 2 <tool id="idpquery" name="idpQuery" version="0.1.0"> | |
| 3 <description>Creates text reports from idpDB files.</description> | |
| 4 <macros> | |
| 5 <xml name="proteinGroupByColumns"> | |
| 6 <param name="report_columns" type="select" label="Select report columns" display="checkboxes" multiple="true"> | |
| 7 <option value="Accession" selected="true">Accession</option> | |
| 8 <option value="GeneId">Gene Id</option> | |
| 9 <option value="GeneGroup">Gene Group</option> | |
| 10 <option value="DistinctPeptides">Distinct Peptides</option> | |
| 11 <option value="DistinctMatches">Distinct Matches</option> | |
| 12 <option value="FilteredSpectra">Filtered Spectra</option> | |
| 13 <option value="IsDecoy">Is Decoy</option> | |
| 14 <option value="Cluster">Cluster</option> | |
| 15 <option value="ProteinGroup">Protein Group</option> | |
| 16 <option value="Length">Length</option> | |
| 17 <option value="PercentCoverage">Percent Coverage</option> | |
| 18 <option value="Sequence">Sequence</option> | |
| 19 <option value="Description">Description</option> | |
| 20 <option value="TaxonomyId">Taxonomy Id</option> | |
| 21 <option value="GeneName">Gene Name</option> | |
| 22 <option value="GeneFamily">Gene Family</option> | |
| 23 <option value="Chromosome">Chromosome</option> | |
| 24 <option value="GeneDescription">Gene Description</option> | |
| 25 <option value="PrecursorIntensity">Precursor Intensity</option> | |
| 26 <option value="PrecursorArea">Precursor Area</option> | |
| 27 <option value="PrecursorBestSNR">Precursor Best SNR</option> | |
| 28 <option value="PrecursorMeanSNR">Precursor Mean SNR</option> | |
| 29 <option value="iTRAQ4plex">iTRAQ 4-plex</option> | |
| 30 <option value="iTRAQ8plex">iTRAQ 8-plex</option> | |
| 31 <option value="TMT2plex">TMT 2-plex</option> | |
| 32 <option value="TMT6plex">TMT 6-plex</option> | |
| 33 <option value="TMT10plex">TMT 10-plex</option> | |
| 34 <option value="PivotMatchesByGroup">Pivot Matches By Group</option> | |
| 35 <option value="PivotMatchesBySource">Pivot Matches By Source</option> | |
| 36 <option value="PivotPeptidesByGroup">Pivot Peptides By Group</option> | |
| 37 <option value="PivotPeptidesBySource">Pivot Peptides By Source</option> | |
| 38 <option value="PivotSpectraByGroup">Pivot Spectra By Group</option> | |
| 39 <option value="PivotSpectraBySource">Pivot Spectra By Source</option> | |
| 40 <option value="PivotPrecursorIntensityByGroup">Pivot Precursor Intensity By Group</option> | |
| 41 <option value="PivotPrecursorIntensityBySource">Pivot Precursor Intensity By Source</option> | |
| 42 <option value="PivotPrecursorAreaByGroup">Pivot Precursor Area By Group</option> | |
| 43 <option value="PivotPrecursorAreaBySource">Pivot Precursor Area By Source</option> | |
| 44 <option value="PivotPrecursorBestSNRByGroup">Pivot Precursor Best SNR By Group</option> | |
| 45 <option value="PivotPrecursorBestSNRBySource">Pivot Precursor Best SNR By Source</option> | |
| 46 <option value="PivotPrecursorMeanSNRByGroup">Pivot Precursor Mean SNR By Group</option> | |
| 47 <option value="PivotPrecursorMeanSNRBySource">Pivot Precursor Mean SNR By Source</option> | |
| 48 <option value="PivotITRAQByGroup">Pivot iTRAQ By Group</option> | |
| 49 <option value="PivotITRAQBySource">Pivot iTRAQ By Source</option> | |
| 50 <option value="PivotTMTByGroup">Pivot TMT By Group</option> | |
| 51 <option value="PivotTMTBySource">Pivot TMT By Source</option> | |
| 52 <option value="PeptideGroups">Peptide Groups</option> | |
| 53 <option value="PeptideSequences">Peptide Sequences</option> | |
| 54 </param> | |
| 55 </xml> | |
| 56 </macros> | |
| 57 <requirements> | |
| 58 <requirement type="package" version="3.0.8789">bumbershoot</requirement> | |
| 59 </requirements> | |
| 60 <stdio> | |
| 61 <exit_code range="1:" level="fatal" description="Job Failed" /> | |
| 62 <regex match="^Error:.*$" source="both" level="fatal" /> | |
| 63 </stdio> | |
| 64 <command> | |
| 65 <![CDATA[ | |
| 66 #set $input_name = $input.display_name | |
| 67 #set $output_name = $input_name.split(".")[0] + ".tsv" | |
| 68 ln -s '$input' '${input_name}' && | |
| 69 | |
| 70 idpQuery $group_by.group_by_value $group_by.report_columns '${input_name}' && | |
| 71 mv '$output_name' output | |
| 72 ]]> | |
| 73 </command> | |
| 74 <inputs> | |
| 75 <param name="input" type="data" format="idpdb" label="Input File" multiple="false" /> | |
| 76 <conditional name="group_by"> | |
| 77 <param name="group_by_value" type="select" label="What proteomic entity do you want to group by?" help="Only protein- and gene-centric entities are currently supported."> | |
| 78 <option value="Protein" selected="true">Protein</option> | |
| 79 <option value="ProteinGroup">Protein Group</option> | |
| 80 <option value="Gene">Gene</option> | |
| 81 <option value="GeneGroup">Gene Group</option> | |
| 82 </param> | |
| 83 <when value="Protein"> | |
| 84 <expand macro="proteinGroupByColumns" /> | |
| 85 </when> | |
| 86 <when value="ProteinGroup"> | |
| 87 <expand macro="proteinGroupByColumns" /> | |
| 88 </when> | |
| 89 <when value="Gene"> | |
| 90 <expand macro="proteinGroupByColumns" /> | |
| 91 </when> | |
| 92 <when value="GeneGroup"> | |
| 93 <expand macro="proteinGroupByColumns" /> | |
| 94 </when> | |
| 95 </conditional> | |
| 96 </inputs> | |
| 97 <outputs> | |
| 98 <data format="tabular" name="output" from_work_dir="output" /> | |
| 99 </outputs> | |
| 100 <tests> | |
| 101 <test> | |
| 102 <param name="input" value="201203-624176-12-mm-gui-test.idpDB" /> | |
| 103 <param name="group_by_value" value="Protein" /> | |
| 104 <param name="report_columns" value="Accession,FilteredSpectra,Description" /> | |
| 105 <output name="output" file="201203-624176-12-mm-gui-test-Protein-Accession,FilteredSpectra,Description.tsv" /> | |
| 106 </test> | |
| 107 <test> | |
| 108 <param name="input" value="201203-624176-12-mm-gui-test.idpDB" /> | |
| 109 <param name="group_by_value" value="ProteinGroup" /> | |
| 110 <param name="report_columns" value="ProteinGroup,Accession,PercentCoverage" /> | |
| 111 <output name="output" file="201203-624176-12-mm-gui-test-ProteinGroup-ProteinGroup,Accession,PercentCoverage.tsv" /> | |
| 112 </test> | |
| 113 <test> | |
| 114 <param name="input" value="201203-624176-12-mm-gui-test.idpDB" /> | |
| 115 <param name="group_by_value" value="Gene" /> | |
| 116 <param name="report_columns" value="GeneId,Accession,DistinctPeptides" /> | |
| 117 <output name="output" file="201203-624176-12-mm-gui-test-Gene-GeneId,Accession,DistinctPeptides.tsv" /> | |
| 118 </test> | |
| 119 <test> | |
| 120 <param name="input" value="201203-624176-12-mm-gui-test.idpDB" /> | |
| 121 <param name="group_by_value" value="GeneGroup" /> | |
| 122 <param name="report_columns" value="GeneGroup,GeneId,DistinctMatches" /> | |
| 123 <output name="output" file="201203-624176-12-mm-gui-test-GeneGroup-GeneGroup,GeneId,DistinctMatches.tsv" /> | |
| 124 </test> | |
| 125 </tests> | |
| 126 <help> | |
| 127 <![CDATA[ | |
| 128 **What it does** | |
| 129 | |
| 130 Creates user-configurable text reports from IDPicker 3 idpDB files. | |
| 131 ]]> | |
| 132 </help> | |
| 133 <citations> | |
| 134 <citation type="doi">10.1021/pr900360j</citation> | |
| 135 <citation type="bibtex">@misc{toolsGalaxyP, author = {Chilton, J, Chambers MC, et al.}, title = {Galaxy Proteomics Tools}, publisher = {GitHub}, journal = {GitHub repository}, | |
| 136 year = {2015}, url = {https://github.com/galaxyproteomics/tools-galaxyp}}</citation> <!-- TODO: fix substitution of commit ", commit = {$sha1$}" --> | |
| 137 </citations> | |
| 138 </tool> |
