Mercurial > repos > galaxyp > mz_to_sqlite
view mz_to_sqlite.xml @ 2:1320693cbf1e 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:46 -0500 |
parents | e34bdac5b157 |
children | 728d459bafe8 |
line wrap: on
line source
<tool id="mz_to_sqlite" name="mz to sqlite" version="2.0.2"> <description>Extract mzIdentML and associated proteomics datasets into a SQLite DB</description> <requirements> <requirement type="package" version="2.0.2">mztosqlite</requirement> </requirements> <stdio> <exit_code range="1:" level="fatal" description="Error Running mz_to_sqlite" /> </stdio> <command> <![CDATA[ mz_to_sqlite -Xms1g -Xmx6g -numthreads "\${GALAXY_SLOTS:-4}" -dbname 'sqlite.db' -mzid '$mzinput' #if len($scanfiles) > 0: #set $files = " ".join(["'"+ a.strip() + "'" for a in str($scanfiles).split(',')]) -scanfiles $files #set $dfiles = [a for a in $scanfiles] -scanFilesDisplayName #for $f in $dfiles '$f.display_name' #end for #end if #if len($searchdbs) > 0: #set $dbFiles = " ".join(["'"+ a.strip() + "'" for a in str($searchdbs).split(',')]) -fasta $dbFiles #end if ]]> </command> <inputs> <param name="mzinput" type="data" format="mzid" label="Proteomics Identification files"/> <param name="scanfiles" type="data" format="mzml,mgf" multiple="true" optional="true" label="Proteomics Spectrum files"/> <param name="searchdbs" type="data" format="fasta,uniprotxml" multiple="true" optional="true" label="Proteomics Search Database Fasta" help="These can provide sequences and length for proteins if not already present in the mzIdentML input"/> </inputs> <outputs> <data format="mz.sqlite" name="sqlite_db" label="${tool.name} on ${on_string}" from_work_dir="sqlite.db"/> </outputs> <tests> <test> <param name="mzinput" value="test_id.mzid" ftype="mzid"></param> <param name="scanfiles" value="test.mgf" ftype="mgf"></param> <param name="searchdbs" value="test.fasta" ftype="fasta"></param> <output name="sqlite_db" file="sqlite.db" /> </test> </tests> <help> <![CDATA[ ** mz_to_sqlite converts proteomics file formats to a SQLite database** ]]> </help> <citations></citations> </tool>