Mercurial > repos > galaxyp > mz_to_sqlite
annotate mz_to_sqlite.xml @ 3:c8bdcf574413 draft
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit ae0093d9f1576f38aee83b2ed5e7f70c901d5864
| author | galaxyp | 
|---|---|
| date | Mon, 11 Feb 2019 17:30:12 -0500 | 
| parents | 8df9fe030d68 | 
| children | 2a8a9f07782e | 
| rev | line source | 
|---|---|
| 3 
c8bdcf574413
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit ae0093d9f1576f38aee83b2ed5e7f70c901d5864
 galaxyp parents: 
2diff
changeset | 1 <tool id="mz_to_sqlite" name="mz to sqlite" version="2.0.2"> | 
| 0 | 2 <description>Extract mzIdentML and associated proteomics datasets into a SQLite DB</description> | 
| 3 <requirements> | |
| 3 
c8bdcf574413
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit ae0093d9f1576f38aee83b2ed5e7f70c901d5864
 galaxyp parents: 
2diff
changeset | 4 <requirement type="package" version="2.0.2">mztosqlite</requirement> | 
| 0 | 5 </requirements> | 
| 6 <stdio> | |
| 7 <exit_code range="1:" level="fatal" description="Error Running mz_to_sqlite" /> | |
| 8 </stdio> | |
| 9 <command> | |
| 10 <![CDATA[ | |
| 3 
c8bdcf574413
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit ae0093d9f1576f38aee83b2ed5e7f70c901d5864
 galaxyp parents: 
2diff
changeset | 11 mz_to_sqlite -Xms1g -Xmx6g | 
| 
c8bdcf574413
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit ae0093d9f1576f38aee83b2ed5e7f70c901d5864
 galaxyp parents: 
2diff
changeset | 12 -numthreads "\${GALAXY_SLOTS:-4}" | 
| 
c8bdcf574413
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit ae0093d9f1576f38aee83b2ed5e7f70c901d5864
 galaxyp parents: 
2diff
changeset | 13 -dbname 'sqlite.db' | 
| 
c8bdcf574413
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit ae0093d9f1576f38aee83b2ed5e7f70c901d5864
 galaxyp parents: 
2diff
changeset | 14 -mzid '$mzinput' | 
| 
c8bdcf574413
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit ae0093d9f1576f38aee83b2ed5e7f70c901d5864
 galaxyp parents: 
2diff
changeset | 15 #if len($scanfiles) > 0: | 
| 
c8bdcf574413
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit ae0093d9f1576f38aee83b2ed5e7f70c901d5864
 galaxyp parents: 
2diff
changeset | 16 #set $files = " ".join(["'"+ a.strip() + "'" for a in str($scanfiles).split(',')]) | 
| 
c8bdcf574413
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit ae0093d9f1576f38aee83b2ed5e7f70c901d5864
 galaxyp parents: 
2diff
changeset | 17 -scanfiles $files | 
| 
c8bdcf574413
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit ae0093d9f1576f38aee83b2ed5e7f70c901d5864
 galaxyp parents: 
2diff
changeset | 18 #set $dfiles = [a for a in $scanfiles] | 
| 
c8bdcf574413
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit ae0093d9f1576f38aee83b2ed5e7f70c901d5864
 galaxyp parents: 
2diff
changeset | 19 -scanFilesDisplayName | 
| 
c8bdcf574413
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit ae0093d9f1576f38aee83b2ed5e7f70c901d5864
 galaxyp parents: 
2diff
changeset | 20 #for $f in $dfiles | 
| 
c8bdcf574413
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit ae0093d9f1576f38aee83b2ed5e7f70c901d5864
 galaxyp parents: 
2diff
changeset | 21 '$f.display_name' | 
| 
c8bdcf574413
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit ae0093d9f1576f38aee83b2ed5e7f70c901d5864
 galaxyp parents: 
2diff
changeset | 22 #end for | 
| 
c8bdcf574413
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit ae0093d9f1576f38aee83b2ed5e7f70c901d5864
 galaxyp parents: 
2diff
changeset | 23 #end if | 
| 
c8bdcf574413
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit ae0093d9f1576f38aee83b2ed5e7f70c901d5864
 galaxyp parents: 
2diff
changeset | 24 #if len($searchdbs) > 0: | 
| 
c8bdcf574413
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit ae0093d9f1576f38aee83b2ed5e7f70c901d5864
 galaxyp parents: 
2diff
changeset | 25 #set $dbFiles = " ".join(["'"+ a.strip() + "'" for a in str($searchdbs).split(',')]) | 
| 
c8bdcf574413
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit ae0093d9f1576f38aee83b2ed5e7f70c901d5864
 galaxyp parents: 
2diff
changeset | 26 -fasta $dbFiles | 
| 
c8bdcf574413
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit ae0093d9f1576f38aee83b2ed5e7f70c901d5864
 galaxyp parents: 
2diff
changeset | 27 #end if | 
| 0 | 28 ]]> | 
| 29 </command> | |
| 30 <inputs> | |
| 3 
c8bdcf574413
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit ae0093d9f1576f38aee83b2ed5e7f70c901d5864
 galaxyp parents: 
2diff
changeset | 31 <param name="mzinput" type="data" format="mzid" label="Proteomics Identification files"/> | 
| 0 | 32 <param name="scanfiles" type="data" format="mzml,mgf" multiple="true" optional="true" label="Proteomics Spectrum files"/> | 
| 2 
8df9fe030d68
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 2c0016faa867da59ca020587f3b704e70e16c7ca-dirty
 galaxyp parents: 
1diff
changeset | 33 <param name="searchdbs" type="data" format="fasta,uniprotxml" multiple="true" optional="true" label="Proteomics Search Database Fasta" | 
| 0 | 34 help="These can provide sequences and length for proteins if not already present in the mzIdentML input"/> | 
| 35 </inputs> | |
| 36 <outputs> | |
| 3 
c8bdcf574413
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit ae0093d9f1576f38aee83b2ed5e7f70c901d5864
 galaxyp parents: 
2diff
changeset | 37 <data format="mz.sqlite" name="sqlite_db" label="${tool.name} on ${on_string}" from_work_dir="sqlite.db"/> | 
| 0 | 38 </outputs> | 
| 39 <tests> | |
| 40 <test> | |
| 3 
c8bdcf574413
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit ae0093d9f1576f38aee83b2ed5e7f70c901d5864
 galaxyp parents: 
2diff
changeset | 41 <param name="mzinput" value="test_id.mzid" ftype="mzid"></param> | 
| 
c8bdcf574413
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit ae0093d9f1576f38aee83b2ed5e7f70c901d5864
 galaxyp parents: 
2diff
changeset | 42 <param name="scanfiles" value="test.mgf" ftype="mgf"></param> | 
| 
c8bdcf574413
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit ae0093d9f1576f38aee83b2ed5e7f70c901d5864
 galaxyp parents: 
2diff
changeset | 43 <param name="searchdbs" value="test.fasta" ftype="fasta"></param> | 
| 
c8bdcf574413
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit ae0093d9f1576f38aee83b2ed5e7f70c901d5864
 galaxyp parents: 
2diff
changeset | 44 <output name="sqlite_db" file="sqlite.db" /> | 
| 0 | 45 </test> | 
| 46 </tests> | |
| 47 <help> | |
| 48 <![CDATA[ | |
| 49 ** mz_to_sqlite converts proteomics file formats to a SQLite database** | |
| 50 | |
| 51 ]]> | |
| 52 </help> | |
| 3 
c8bdcf574413
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit ae0093d9f1576f38aee83b2ed5e7f70c901d5864
 galaxyp parents: 
2diff
changeset | 53 <citations></citations> | 
| 0 | 54 </tool> | 
