# HG changeset patch # User tomnl # Date 1485961397 18000 # Node ID 8f5496765a2213cfd3b1d39ddc694879741c262d Uploaded diff -r 000000000000 -r 8f5496765a22 mzml2isa-galaxy-master/.gitignore --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mzml2isa-galaxy-master/.gitignore Wed Feb 01 10:03:17 2017 -0500 @@ -0,0 +1,6 @@ +*.pyc +.idea +*.egg-info +.egg +*~ + diff -r 000000000000 -r 8f5496765a22 mzml2isa-galaxy-master/.travis.yml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mzml2isa-galaxy-master/.travis.yml Wed Feb 01 10:03:17 2017 -0500 @@ -0,0 +1,16 @@ +language: python + +before_install: + - sudo apt-get install -y python-virtualenv + - virtualenv planemo-venv + - . planemo-venv/bin/activate + - pip install --upgrade pip setuptools + - pip install planemo + - planemo conda_init + +install: + - planemo conda_install ${TRAVIS_BUILD_DIR}/galaxy/mzml2isa/ + +script: + - planemo test --install_galaxy --no_cache_galaxy --conda_dependency_resolution ${TRAVIS_BUILD_DIR}/galaxy/mzml2isa/ --galaxy_branch "dev" + diff -r 000000000000 -r 8f5496765a22 mzml2isa-galaxy-master/README.md --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mzml2isa-galaxy-master/README.md Wed Feb 01 10:03:17 2017 -0500 @@ -0,0 +1,5 @@ +mzml2isa for galaxy +=============== + +[![install with bioconda](https://img.shields.io/badge/install%20with-bioconda-brightgreen.svg?style=flat-square)](http://bioconda.github.io/recipes/mzml2isa/README.html) [![Build Status](https://travis-ci.org/ISA-tools/mzml2isa-galaxy.svg?branch=master)](https://travis-ci.org/ISA-tools/mzml2isa-galaxy) + diff -r 000000000000 -r 8f5496765a22 mzml2isa-galaxy-master/galaxy/mzml2isa/README.rst diff -r 000000000000 -r 8f5496765a22 mzml2isa-galaxy-master/galaxy/mzml2isa/mzml2isa.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mzml2isa-galaxy-master/galaxy/mzml2isa/mzml2isa.xml Wed Feb 01 10:03:17 2017 -0500 @@ -0,0 +1,258 @@ + + Parser to get meta information from mzML files and create an ISA-Tab structure + + + mzml2isa_macros.xml + + + + + + mzml2isa + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 10.1002/0471250953.bi1413s53 + 10.1007/s11306-015-0879-3 + 10.1038/ng.1054 + + + + + + diff -r 000000000000 -r 8f5496765a22 mzml2isa-galaxy-master/galaxy/mzml2isa/mzml2isa_macros.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mzml2isa-galaxy-master/galaxy/mzml2isa/mzml2isa_macros.xml Wed Feb 01 10:03:17 2017 -0500 @@ -0,0 +1,112 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r 000000000000 -r 8f5496765a22 mzml2isa-galaxy-master/galaxy/mzml2isa/ontology_search.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mzml2isa-galaxy-master/galaxy/mzml2isa/ontology_search.py Wed Feb 01 10:03:17 2017 -0500 @@ -0,0 +1,33 @@ +#!/usr/bin/python +import os +import csv +import inspect + + +def getNames(source="role"): + + + filename = inspect.getframeinfo(inspect.currentframe()).filename + path = os.path.dirname(os.path.abspath(filename)) + + + if source == "role": + tablepth = os.path.join(path, 'pub_role.loc') + elif source == "status": + tablepth = os.path.join(path, 'pub_status.loc') + else: + print "Table not recognised" + return "" + + print tablepth + + with open(tablepth, "rb") as csvfile: + reader = csv.reader(csvfile, delimiter='\t') + l = list(reader) + + l = [i + [""] for i in l] + + l.sort(key=lambda x: x[0]) + + return l + diff -r 000000000000 -r 8f5496765a22 mzml2isa-galaxy-master/galaxy/mzml2isa/pub_role.loc --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mzml2isa-galaxy-master/galaxy/mzml2isa/pub_role.loc Wed Feb 01 10:03:17 2017 -0500 @@ -0,0 +1,33 @@ +"Biographer" "http://purl.org/spar/pro/biographer" +"Critic" "http://purl.org/spar/pro/critic" +"Librarian" "http://purl.org/spar/pro/librarian" +"Illustrator" "http://purl.org/spar/pro/illustrator" +"Producer" "http://purl.org/spar/pro/producer" +"Ghost writer" "http://purl.org/spar/pro/ghost-writer" +"Deputy editor" "http://purl.org/spar/pro/deputy-editor" +"Senior editor" "http://purl.org/spar/pro/senior-editor" +"Production editor" "http://purl.org/spar/pro/production-editor" +"Author" "http://purl.org/spar/pro/author" +"Author's agent" "http://purl.org/spar/pro/authors-agent" +"Translator" "http://purl.org/spar/pro/translator" +"Commissioning editor" "http://purl.org/spar/pro/commissioning-editor" +"Publisher" "http://purl.org/spar/pro/publisher" +"Proof reader" "http://purl.org/spar/pro/proof-reader" +"Managing editor" "http://purl.org/spar/pro/managing-editor" +"Copy editor" "http://purl.org/spar/pro/copy-editor" +"Journalist" "http://purl.org/spar/pro/journalist" +"Blogger" "http://purl.org/spar/pro/blogger" +"Guest editor" "http://purl.org/spar/pro/guest-editor" +"Reader" "http://purl.org/spar/pro/reader" +"Contributor" "http://purl.org/spar/pro/contributor" +"Reviewer" "http://purl.org/spar/pro/reviewer" +"Printer" "http://purl.org/spar/pro/printer" +"Editor" "http://purl.org/spar/pro/editor" +"Executive editor" "http://purl.org/spar/pro/executive-editor" +"Archivist" "http://purl.org/spar/pro/archivist" +"Distributor" "http://purl.org/spar/pro/distributor" +"Copyright owner" "http://purl.org/spar/pro/copyright-owner" +"Compiler" "http://purl.org/spar/pro/compiler" +"Peer reviewer" "http://purl.org/spar/pro/peer-reviewer" +"Editor-in-chief" "http://purl.org/spar/pro/editor-in-chief" +"Series editor" "http://purl.org/spar/pro/series-editor" diff -r 000000000000 -r 8f5496765a22 mzml2isa-galaxy-master/galaxy/mzml2isa/pub_status.loc --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mzml2isa-galaxy-master/galaxy/mzml2isa/pub_status.loc Wed Feb 01 10:03:17 2017 -0500 @@ -0,0 +1,36 @@ +"Peer reviewed" "http://purl.org/spar/pso/peer-reviewed" +"Published" "http://purl.org/spar/pso/published" +"Draft" "http://purl.org/spar/pso/draft" +"Anonymized" "http://purl.org/spar/pso/anonymized" +"Intermediate draft" "http://purl.org/spar/pso/intermediate-draft" +"Republished" "http://purl.org/spar/pso/republished" +"Open access" "http://purl.org/spar/pso/open-access" +"Closed access" "http://purl.org/spar/pso/closed-access" +"Under review" "http://purl.org/spar/pso/under-review" +"Corrected" "http://purl.org/spar/pso/corrected" +"Confidential" "http://purl.org/spar/pso/confidential" +"Rejected for publication" "http://purl.org/spar/pso/rejected-for-publication" +"Unpublished" "http://purl.org/spar/pso/unpublished" +"Catalogued" "http://purl.org/spar/pso/catalogued" +"Enhanced" "http://purl.org/spar/pso/enhanced" +"Green open access" "http://purl.org/spar/pso/green-open-access" +"Reviewed" "http://purl.org/spar/pso/reviewed" +"Restricted access" "http://purl.org/spar/pso/restricted-access" +"Withdrawn from submission" "http://purl.org/spar/pso/withdrawn-from-submission" +"Embargoed" "http://purl.org/spar/pso/embargoed" +"Revised" "http://purl.org/spar/pso/revised" +"Accepted for publication" "http://purl.org/spar/pso/accepted-for-publication" +"Final draft" "http://purl.org/spar/pso/final-draft" +"Archived" "http://purl.org/spar/pso/archived" +"Proof" "http://purl.org/spar/pso/proof" +"Version of record" "http://purl.org/spar/pso/version-of-record" +"Gold open access" "http://purl.org/spar/pso/gold-open-access" +"Gratis open access" "http://purl.org/spar/pso/gratis-open-access" +"Subscription access" "http://purl.org/spar/pso/subscription-access" +"Non-confidential" "http://purl.org/spar/pso/non-confidential" +"Initial draft" "http://purl.org/spar/pso/initial-draft" +"Retracted from publication" "http://purl.org/spar/pso/retracted-from-publication" +"Copy-edited" "http://purl.org/spar/pso/copy-edited" +"Submitted" "http://purl.org/spar/pso/submitted" +"Libre open access" "http://purl.org/spar/pso/libre-open-access" +"In press" "http://purl.org/spar/pso/in-press" diff -r 000000000000 -r 8f5496765a22 mzml2isa-galaxy-master/galaxy/mzml2isa/shed.yml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mzml2isa-galaxy-master/galaxy/mzml2isa/shed.yml Wed Feb 01 10:03:17 2017 -0500 @@ -0,0 +1,16 @@ +name: mzml2isa +owner: rjmweber +description: Contains a tool dependency definition that downloads and extract version 0.4.19 of mzml2isa. +homepage_url: https://github.com/ISA-tools/mzml2isa +long_description: mzml2isa is a Python program that can be used to generate an ISA-Tab structure out of mzML files, providing the backbone of a study which can then be edited with an ISA editing tool (see MetaboLights pre-packaged ISA Creator - http://www.ebi.ac.uk/metabolights/) +remote_repository_url: https://github.com/ISA-tools/mzml2isa +type: unrestricted +categories: + - "Metabolomics" +include: + - mzml2isa.xml + - static/images/** + - test-data/** + - tool-data/** + - README.rst + diff -r 000000000000 -r 8f5496765a22 mzml2isa-galaxy-master/galaxy/mzml2isa/static/images/mzml2isa.png Binary file mzml2isa-galaxy-master/galaxy/mzml2isa/static/images/mzml2isa.png has changed diff -r 000000000000 -r 8f5496765a22 mzml2isa-galaxy-master/galaxy/mzml2isa/test-data/metabolomics_study.zip Binary file mzml2isa-galaxy-master/galaxy/mzml2isa/test-data/metabolomics_study.zip has changed diff -r 000000000000 -r 8f5496765a22 mzml2isa-galaxy-master/galaxy/mzml2isa/test-data/metabolomics_study/test/a_test_metabolite_profiling_mass_spectrometry.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mzml2isa-galaxy-master/galaxy/mzml2isa/test-data/metabolomics_study/test/a_test_metabolite_profiling_mass_spectrometry.txt Wed Feb 01 10:03:17 2017 -0500 @@ -0,0 +1,7 @@ +"Sample Name" "Protocol REF" "Parameter Value[Post Extraction]" "Parameter Value[Derivatization]" "Extract Name" "Protocol REF" "Parameter Value[Chromatography Instrument]" "Term Source REF" "Term Accession Number" "Parameter Value[Column model]" "Parameter Value[Column type]" "Labeled Extract Name" "Label" "Term Source REF" "Term Accession Number" "Protocol REF" "Parameter Value[Scan polarity]" "Parameter Value[Scan m/z range]" "Unit" "Term Source REF" "Term Accession Number" "Parameter Value[Instrument]" "Term Source REF" "Term Accession Number" "Parameter Value[Ion source]" "Term Source REF" "Term Accession Number" "Parameter Value[Mass analyzer]" "Term Source REF" "Term Accession Number" "Parameter Value[Inlet type]" "Term Source REF" "Term Accession Number" "Parameter Value[Detector]" "Term Source REF" "Term Accession Number" "Parameter Value[Detector mode]" "Term Source REF" "Term Accession Number" "Parameter Value[Native spectrum identifier format]" "Term Source REF" "Term Accession Number" "Parameter Value[Data file content]" "Term Source REF" "Term Accession Number" "Parameter Value[Data file checksum type]" "Term Source REF" "Term Accession Number" "Parameter Value[Raw data file format]" "Term Source REF" "Term Accession Number" "Parameter Value[Instrument manufacturer]" "Term Source REF" "Term Accession Number" "Parameter Value[Instrument serial number]" "Parameter Value[Instrument software]" "Term Source REF" "Term Accession Number" "Parameter Value[Number of scans]" "Parameter Value[Time range]" "Unit" "Term Source REF" "Term Accession Number" "MS Assay Name" "Raw Spectral Data File" "Protocol REF" "Normalization Name" "Derived Spectral Data File" "Protocol REF" "Parameter Value[Data Transformation software]" "Term Source REF" "Term Accession Number" "Parameter Value[Data Transformation software version]" "Data Transformation Name" "Term Source REF" "Term Accession Number" "Metabolite Assignment File" +"5_samp" "Extraction" "" "" "" "Chromatography" "" "" "" "" "" "" "" "" "" "Mass spectrometry" "positive scan" "140-2000" "m/z" "MS" "http://purl.obolibrary.org/obo/MS_1000040" "LTQ FT" "MS" "http://purl.obolibrary.org/obo/MS_1000448" "electrospray ionization" "MS" "http://purl.obolibrary.org/obo/MS_1000073" "radial ejection linear ion trap" "MS" "http://purl.obolibrary.org/obo/MS_1000083" "electrospray inlet" "MS" "http://purl.obolibrary.org/obo/MS_1000057" "electron multiplier" "MS" "http://purl.obolibrary.org/obo/MS_1000253" "" "" "" "Thermo nativeID format" "MS" "http://purl.obolibrary.org/obo/MS_1000768" "MSn spectrum" "MS" "http://purl.obolibrary.org/obo/MS_1000580" "SHA-1" "MS" "http://purl.obolibrary.org/obo/MS_1000569" "Thermo RAW file" "MS" "http://purl.obolibrary.org/obo/MS_1000563" "Thermo Fisher Scientific instrument model" "MS" "http://purl.obolibrary.org/obo/MS_1000483" "SN06061F" "Xcalibur" "MS" "http://purl.obolibrary.org/obo/MS_1000532" "48" "0.0049-0.4872" "minute" "UO" "http://purl.obolibrary.org/obo/UO_0000031" "5_samp" "" "Data transformation" "" "5_samp.mzML" "Metabolite identification" "ProteoWizard" "MS" "http://purl.obolibrary.org/obo/MS_1000615" "1.4.0" "Conversion to mzML" "MS" "http://purl.obolibrary.org/obo/MS_1000544" "" +"3_samp" "Extraction" "" "" "" "Chromatography" "" "" "" "" "" "" "" "" "" "Mass spectrometry" "positive scan" "140-2000" "m/z" "MS" "http://purl.obolibrary.org/obo/MS_1000040" "LTQ FT" "MS" "http://purl.obolibrary.org/obo/MS_1000448" "electrospray ionization" "MS" "http://purl.obolibrary.org/obo/MS_1000073" "radial ejection linear ion trap" "MS" "http://purl.obolibrary.org/obo/MS_1000083" "electrospray inlet" "MS" "http://purl.obolibrary.org/obo/MS_1000057" "electron multiplier" "MS" "http://purl.obolibrary.org/obo/MS_1000253" "" "" "" "Thermo nativeID format" "MS" "http://purl.obolibrary.org/obo/MS_1000768" "MSn spectrum" "MS" "http://purl.obolibrary.org/obo/MS_1000580" "SHA-1" "MS" "http://purl.obolibrary.org/obo/MS_1000569" "Thermo RAW file" "MS" "http://purl.obolibrary.org/obo/MS_1000563" "Thermo Fisher Scientific instrument model" "MS" "http://purl.obolibrary.org/obo/MS_1000483" "SN06061F" "Xcalibur" "MS" "http://purl.obolibrary.org/obo/MS_1000532" "48" "0.0049-0.4872" "minute" "UO" "http://purl.obolibrary.org/obo/UO_0000031" "3_samp" "" "Data transformation" "" "3_samp.mzML" "Metabolite identification" "ProteoWizard" "MS" "http://purl.obolibrary.org/obo/MS_1000615" "1.4.0" "Conversion to mzML" "MS" "http://purl.obolibrary.org/obo/MS_1000544" "" +"2_samp" "Extraction" "" "" "" "Chromatography" "" "" "" "" "" "" "" "" "" "Mass spectrometry" "positive scan" "140-2000" "m/z" "MS" "http://purl.obolibrary.org/obo/MS_1000040" "LTQ FT" "MS" "http://purl.obolibrary.org/obo/MS_1000448" "electrospray ionization" "MS" "http://purl.obolibrary.org/obo/MS_1000073" "radial ejection linear ion trap" "MS" "http://purl.obolibrary.org/obo/MS_1000083" "electrospray inlet" "MS" "http://purl.obolibrary.org/obo/MS_1000057" "electron multiplier" "MS" "http://purl.obolibrary.org/obo/MS_1000253" "" "" "" "Thermo nativeID format" "MS" "http://purl.obolibrary.org/obo/MS_1000768" "MSn spectrum" "MS" "http://purl.obolibrary.org/obo/MS_1000580" "SHA-1" "MS" "http://purl.obolibrary.org/obo/MS_1000569" "Thermo RAW file" "MS" "http://purl.obolibrary.org/obo/MS_1000563" "Thermo Fisher Scientific instrument model" "MS" "http://purl.obolibrary.org/obo/MS_1000483" "SN06061F" "Xcalibur" "MS" "http://purl.obolibrary.org/obo/MS_1000532" "48" "0.0049-0.4872" "minute" "UO" "http://purl.obolibrary.org/obo/UO_0000031" "2_samp" "" "Data transformation" "" "2_samp.mzML" "Metabolite identification" "ProteoWizard" "MS" "http://purl.obolibrary.org/obo/MS_1000615" "1.4.0" "Conversion to mzML" "MS" "http://purl.obolibrary.org/obo/MS_1000544" "" +"1_samp" "Extraction" "" "" "" "Chromatography" "" "" "" "" "" "" "" "" "" "Mass spectrometry" "positive scan" "140-2000" "m/z" "MS" "http://purl.obolibrary.org/obo/MS_1000040" "LTQ FT" "MS" "http://purl.obolibrary.org/obo/MS_1000448" "electrospray ionization" "MS" "http://purl.obolibrary.org/obo/MS_1000073" "radial ejection linear ion trap" "MS" "http://purl.obolibrary.org/obo/MS_1000083" "electrospray inlet" "MS" "http://purl.obolibrary.org/obo/MS_1000057" "electron multiplier" "MS" "http://purl.obolibrary.org/obo/MS_1000253" "" "" "" "Thermo nativeID format" "MS" "http://purl.obolibrary.org/obo/MS_1000768" "MSn spectrum" "MS" "http://purl.obolibrary.org/obo/MS_1000580" "SHA-1" "MS" "http://purl.obolibrary.org/obo/MS_1000569" "Thermo RAW file" "MS" "http://purl.obolibrary.org/obo/MS_1000563" "Thermo Fisher Scientific instrument model" "MS" "http://purl.obolibrary.org/obo/MS_1000483" "SN06061F" "Xcalibur" "MS" "http://purl.obolibrary.org/obo/MS_1000532" "48" "0.0049-0.4872" "minute" "UO" "http://purl.obolibrary.org/obo/UO_0000031" "1_samp" "" "Data transformation" "" "1_samp.mzML" "Metabolite identification" "ProteoWizard" "MS" "http://purl.obolibrary.org/obo/MS_1000615" "1.4.0" "Conversion to mzML" "MS" "http://purl.obolibrary.org/obo/MS_1000544" "" +"6_samp" "Extraction" "" "" "" "Chromatography" "" "" "" "" "" "" "" "" "" "Mass spectrometry" "positive scan" "140-2000" "m/z" "MS" "http://purl.obolibrary.org/obo/MS_1000040" "LTQ FT" "MS" "http://purl.obolibrary.org/obo/MS_1000448" "electrospray ionization" "MS" "http://purl.obolibrary.org/obo/MS_1000073" "radial ejection linear ion trap" "MS" "http://purl.obolibrary.org/obo/MS_1000083" "electrospray inlet" "MS" "http://purl.obolibrary.org/obo/MS_1000057" "electron multiplier" "MS" "http://purl.obolibrary.org/obo/MS_1000253" "" "" "" "Thermo nativeID format" "MS" "http://purl.obolibrary.org/obo/MS_1000768" "MSn spectrum" "MS" "http://purl.obolibrary.org/obo/MS_1000580" "SHA-1" "MS" "http://purl.obolibrary.org/obo/MS_1000569" "Thermo RAW file" "MS" "http://purl.obolibrary.org/obo/MS_1000563" "Thermo Fisher Scientific instrument model" "MS" "http://purl.obolibrary.org/obo/MS_1000483" "SN06061F" "Xcalibur" "MS" "http://purl.obolibrary.org/obo/MS_1000532" "48" "0.0049-0.4872" "minute" "UO" "http://purl.obolibrary.org/obo/UO_0000031" "6_samp" "" "Data transformation" "" "6_samp.mzML" "Metabolite identification" "ProteoWizard" "MS" "http://purl.obolibrary.org/obo/MS_1000615" "1.4.0" "Conversion to mzML" "MS" "http://purl.obolibrary.org/obo/MS_1000544" "" +"4_samp" "Extraction" "" "" "" "Chromatography" "" "" "" "" "" "" "" "" "" "Mass spectrometry" "positive scan" "140-2000" "m/z" "MS" "http://purl.obolibrary.org/obo/MS_1000040" "LTQ FT" "MS" "http://purl.obolibrary.org/obo/MS_1000448" "electrospray ionization" "MS" "http://purl.obolibrary.org/obo/MS_1000073" "radial ejection linear ion trap" "MS" "http://purl.obolibrary.org/obo/MS_1000083" "electrospray inlet" "MS" "http://purl.obolibrary.org/obo/MS_1000057" "electron multiplier" "MS" "http://purl.obolibrary.org/obo/MS_1000253" "" "" "" "Thermo nativeID format" "MS" "http://purl.obolibrary.org/obo/MS_1000768" "MSn spectrum" "MS" "http://purl.obolibrary.org/obo/MS_1000580" "SHA-1" "MS" "http://purl.obolibrary.org/obo/MS_1000569" "Thermo RAW file" "MS" "http://purl.obolibrary.org/obo/MS_1000563" "Thermo Fisher Scientific instrument model" "MS" "http://purl.obolibrary.org/obo/MS_1000483" "SN06061F" "Xcalibur" "MS" "http://purl.obolibrary.org/obo/MS_1000532" "48" "0.0049-0.4872" "minute" "UO" "http://purl.obolibrary.org/obo/UO_0000031" "4_samp" "" "Data transformation" "" "4_samp.mzML" "Metabolite identification" "ProteoWizard" "MS" "http://purl.obolibrary.org/obo/MS_1000615" "1.4.0" "Conversion to mzML" "MS" "http://purl.obolibrary.org/obo/MS_1000544" "" diff -r 000000000000 -r 8f5496765a22 mzml2isa-galaxy-master/galaxy/mzml2isa/test-data/metabolomics_study/test/i_Investigation.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mzml2isa-galaxy-master/galaxy/mzml2isa/test-data/metabolomics_study/test/i_Investigation.txt Wed Feb 01 10:03:17 2017 -0500 @@ -0,0 +1,94 @@ +ONTOLOGY SOURCE REFERENCE +Term Source Name "MS" "CSEO" "NCBITAXON" "EFO" "BTO" "CHMO" "NCIT" "UO" "OBI" "PSO" "PRO" "MI" "CRISP" +Term Source File "http://data.bioontology.org/ontologies/MS" "http://data.bioontology.org/ontologies/CSEO" "http://data.bioontology.org/ontologies/NCBITAXON" "http://data.bioontology.org/ontologies/EFO" "http://data.bioontology.org/ontologies/BTO" "http://data.bioontology.org/ontologies/CHMO" "http://data.bioontology.org/ontologies/NCIT" "http://data.bioontology.org/ontologies/UO" "http://data.bioontology.org/ontologies/OBI" "http://purl.org/spar/pso" "http://purl.org/spar/pro" "http://purl.obolibrary.org/obo/mi.owl" "http://purl.bioontology.org/ontology/CRISP" +Term Source Version "103" "2" "4" "132" "26" "16" "40" "43" "25" "" "" "" "" +Term Source Description "Mass Spectrometry Ontology" "Cigarette Smoke Exposure Ontology" "National Center for Biotechnology Information (NCBI) Organismal Classification" "Experimental Factor Ontology" "BRENDA Tissue and Enzyme Source Ontology" "Chemical Methods Ontology" "National Cancer Institute Thesaurus" "Units of Measurement Ontology" "Ontology for Biomedical Investigations" "Publishing Status Ontology" "Publishing Roles Ontology" "PSI Molecular Interactions" "Computer Retrieval of Information on Scientific Projects Thesaurus" +INVESTIGATION +Investigation Identifier "test" +Investigation Title "Investigation" +Investigation Description "" +Investigation Submission Date "" +Investigation Public Release Date "" +Comment[Created With Configuration] "" +Comment[Last Opened With Configuration] "" +Comment[Created With Tool] "mzml2isa 0.4.24" +INVESTIGATION PUBLICATIONS +Investigation PubMed ID "" +Investigation Publication DOI "" +Investigation Publication Author List "" +Investigation Publication Title "" +Investigation Publication Status "" +Investigation Publication Status Term Accession Number "" +Investigation Publication Status Term Source REF "PSO" +INVESTIGATION CONTACTS +Investigation Person Last Name "" +Investigation Person First Name "" +Investigation Person Mid Initials "" +Investigation Person Email "" +Investigation Person Phone "" +Investigation Person Fax "" +Investigation Person Address "" +Investigation Person Affiliation "" +Investigation Person Roles "" +Investigation Person Roles Term Accession Number "" +Investigation Person Roles Term Source REF "" +STUDY +Study Identifier "test" +Study Title "test" +Study Description "" +Study Submission Date "" +Study Public Release Date "" +Study File Name "s_test.txt" +STUDY DESIGN DESCRIPTORS +Study Design Type "" +Study Design Type Term Accession Number "" +Study Design Type Term Source REF "" +STUDY PUBLICATIONS +Study PubMed ID "" +Study Publication DOI "" +Study Publication Author List "" +Study Publication Title "" +Study Publication Status "" +Study Publication Status Term Accession Number "" +Study Publication Status Term Source REF "PSO" +STUDY FACTORS +Study Factor Name "" +Study Factor Type "" +Study Factor Type Term Accession Number "" +Study Factor Type Term Source REF "" +STUDY ASSAYS +Study Assay File Name "a_test_metabolite_profiling_mass_spectrometry.txt" +Study Assay Measurement Type "metabolite profiling" +Study Assay Measurement Type Term Accession Number "http://purl.obolibrary.org/obo/OBI_0000366" +Study Assay Measurement Type Term Source REF "OBI" +Study Assay Technology Type "mass spectrometry" +Study Assay Technology Type Term Accession Number "http://purl.obolibrary.org/obo/OBI_0000470" +Study Assay Technology Type Term Source REF "OBI" +Study Assay Technology Platform "LTQ FT" +STUDY PROTOCOLS +Study Protocol Name "Sample collection" "Extraction" "Chromatography" "Mass spectrometry" "Data transformation" "Metabolite identification" +Study Protocol Type "Sample collection" "Extraction" "Chromatography" "Mass spectrometry" "Data transformation" "Metabolite identification" +Study Protocol Type Term Accession Number "http://purl.bioontology.org/ontology/CRISP/4009-0034" "http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#C61575" "http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#C16431" "http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#C17156" "http://purl.obolibrary.org/obo/OBI_0200000" "http://purl.obolibrary.org/obo/MI_2131" +Study Protocol Type Term Source REF "CRISP" "NCIT" "NCIT" "NCIT" "OBI" "MI" +Study Protocol Description "" "" "" "" "" "" +Study Protocol URI "" "" "" "" "" "" +Study Protocol Version "" "" "" "" "" "" +Study Protocol Parameters Name "" "Post Extraction;Derivatization" "Chromatography Instrument;Column type;Column model" "Instrument software;Detector mode;Spectrum representation;Inlet type;Number of scans;Scan m/z range;Detector;Instrument serial number;Raw data file checksum type;Mass analyzer;Instrument manufacturer;Raw data file format;Scan polarity;Raw data file checksum value;Instrument software version;Native spectrum identifier format;Instrument;Data file content;Time range;Ion source" "" "Data Transformation software;Data Transformation software version" +Study Protocol Parameters Name Term Accession Number "" ";" ";;" ";;;;;;;;;;;;;;;;;;;" "" ";" +Study Protocol Parameters Name Term Source REF "" ";" ";;" ";;;;;;;;;;;;;;;;;;;" "" ";" +Study Protocol Components Name "" "" "" "" "" "" +Study Protocol Components Type "" "" "" "" "" "" +Study Protocol Components Type Term Accession Number "" "" "" "" "" "" +Study Protocol Components Type Term Source REF "" "" "" "" "" "" +STUDY CONTACTS +Study Person Last Name "" +Study Person First Name "" +Study Person Mid Initials "" +Study Person Email "" +Study Person Phone "" +Study Person Fax "" +Study Person Address "" +Study Person Affiliation "" +Study Person Roles "" +Study Person Roles Term Accession Number "" +Study Person Roles Term Source REF "" diff -r 000000000000 -r 8f5496765a22 mzml2isa-galaxy-master/galaxy/mzml2isa/test-data/metabolomics_study/test/index.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mzml2isa-galaxy-master/galaxy/mzml2isa/test-data/metabolomics_study/test/index.html Wed Feb 01 10:03:17 2017 -0500 @@ -0,0 +1,1 @@ +a_test_metabolite_profiling_mass_spectrometry.txt
i_Investigation.txt
s_test.txt
diff -r 000000000000 -r 8f5496765a22 mzml2isa-galaxy-master/galaxy/mzml2isa/test-data/metabolomics_study/test/s_test.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mzml2isa-galaxy-master/galaxy/mzml2isa/test-data/metabolomics_study/test/s_test.txt Wed Feb 01 10:03:17 2017 -0500 @@ -0,0 +1,7 @@ +"Source Name" "Characteristics[Organism]" "Term Source REF" "Term Accession Number" "Characteristics[Variant]" "Term Source REF" "Term Accession Number" "Characteristics[Organism part]" "Term Source REF" "Term Accession Number" "Protocol REF" "Sample Name" +"" "" "" "" "" "" "" "" "" "" "Sample collection" "5_samp" +"" "" "" "" "" "" "" "" "" "" "Sample collection" "3_samp" +"" "" "" "" "" "" "" "" "" "" "Sample collection" "2_samp" +"" "" "" "" "" "" "" "" "" "" "Sample collection" "1_samp" +"" "" "" "" "" "" "" "" "" "" "Sample collection" "6_samp" +"" "" "" "" "" "" "" "" "" "" "Sample collection" "4_samp" diff -r 000000000000 -r 8f5496765a22 mzml2isa-galaxy-master/galaxy/mzml2isa/tool-data/get_status_ont.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mzml2isa-galaxy-master/galaxy/mzml2isa/tool-data/get_status_ont.py Wed Feb 01 10:03:17 2017 -0500 @@ -0,0 +1,51 @@ +import sys +import os +import json +import urllib.error +import urllib.request as rq +from urllib.parse import quote +import csv + +############################################################################### +# Python3 script to get tab seperated maf_index.loc files for drop down menus +############################################################################### +# Code modified from mzm2isa-qt python package developed by Martin Larralde +# https://github.com/althonos/mzml2isa-qt/scrapers.py + + +def get_ont_loc(jsonSourceUrl, sparName, ontoClass, filepth): + onto = json.loads(rq.urlopen(jsonSourceUrl).read().decode('utf-8')) + info = [] + for x in onto: + if '@type' in x: + if ontoClass in x['@type']: + info.append(x) + info = [ (x['http://www.w3.org/2000/01/rdf-schema#label'],x['@id']) for x in info ] + + ontd = {x[0]['@value'].capitalize():y for (x,y) in info} + + with open(filepth, 'w') as f: + writer = csv.writer(f, delimiter='\t', quoting=csv.QUOTE_ALL) + writer.writerow(["name", "link"]) + for key, value in ontd.items(): + writer.writerow([key, value]) + + return ontd + +#------------------------------- +# publication status ontology +#------------------------------- +jsonSourceUrl = "http://www.sparontologies.net/ontologies/pso/source.json" +sparName = "pso" +ontoClass = "http://purl.org/spar/pso/PublicationStatus" +get_ont_loc(jsonSourceUrl, sparName, ontoClass, './pub_status.loc') + +#------------------------------- +# Job role ontology +#------------------------------- +jsonSourceUrl = "http://www.sparontologies.net/ontologies/pro/source.json" +sparName = "pro" +ontoClass = "http://purl.org/spar/pro/PublishingRole" +get_ont_loc(jsonSourceUrl, sparName, ontoClass, './pub_role.loc') + + diff -r 000000000000 -r 8f5496765a22 mzml2isa-galaxy-master/galaxy/mzml2isa/tool_dependencies.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mzml2isa-galaxy-master/galaxy/mzml2isa/tool_dependencies.xml Wed Feb 01 10:03:17 2017 -0500 @@ -0,0 +1,7 @@ + + + + + + + diff -r 000000000000 -r 8f5496765a22 mzml2isa-galaxy-master/galaxy/mzml2isa/wrapper.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mzml2isa-galaxy-master/galaxy/mzml2isa/wrapper.py Wed Feb 01 10:03:17 2017 -0500 @@ -0,0 +1,238 @@ +#!/usr/bin/env python + +import sys +import json +import os +import argparse +import textwrap +import csv +import inspect + + +def ontology_lookup(name, table): + # takes in accession number outputs the name + filename = inspect.getframeinfo(inspect.currentframe()).filename + path = os.path.dirname(os.path.abspath(filename)) + + + # check if correct table + if table=="role": + tablepth = os.path.join(path, 'pub_role.loc') + elif table=="status": + tablepth = os.path.join(path, 'pub_status.loc') + else: + print "Table not recognised" + return "" + + with open(tablepth, "rb") as csvfile: + reader = csv.reader(csvfile, delimiter='\t') + ont_dict = dict((k, v) for v, k in reader) + try: + return ont_dict[name] + except KeyError: + return "" + + + +def main(): + + p = argparse.ArgumentParser(prog='PROG', + formatter_class=argparse.RawDescriptionHelpFormatter, + description='''DI-MS processing for DMA''', + epilog=textwrap.dedent('''\ + ------------------------------------------------------------------------- + ''')) + + + p.add_argument('-inputzip', dest='inputzip', required=True) + p.add_argument('-out_dir', dest='out_dir', required=True) + p.add_argument('-html_file', dest='html_file', required=True) + p.add_argument('-study_title', dest='study_title', required=True) + + p.add_argument('-jsontxt', dest='jsontxt', required=False, nargs='?') + + p.add_argument('--s_submission_date', dest='s_submission_date', required=False, default="", nargs='?') + p.add_argument('--s_release_date', dest='s_release_date', required=False, default="", nargs='?') + p.add_argument('--s_description', dest='s_description', required=False, default="", nargs='?') + p.add_argument('--s_pubmed', dest='s_pubmed', required=False, default="", nargs='?') + p.add_argument('--s_pub_doi', dest='s_pub_doi', required=False, default="", nargs='?') + p.add_argument('--s_pub_status', dest='s_pub_status', required=False, default="", nargs='?') + p.add_argument('--s_pub_author', dest='s_pub_author', required=False, default="", nargs='?') + p.add_argument('--s_pub_title', dest='s_pub_title', required=False, default="", nargs='?') + p.add_argument('--s_first_name', dest='s_first_name', required=False, default="", nargs='?') + p.add_argument('--s_mid_initials', dest='s_mid_initials', required=False, default="", nargs='?') + p.add_argument('--s_last_name', dest='s_last_name', required=False, default="", nargs='?') + p.add_argument('--s_telephone', dest='s_telephone', required=False, default="", nargs='?') + p.add_argument('--s_fax', dest='s_fax', required=False, default="", nargs='?') + p.add_argument('--s_affiliation', dest='s_affiliation', required=False, default="", nargs='?') + p.add_argument('--s_role', dest='s_role', required=False, default="", nargs='?') + p.add_argument('--s_mail', dest='s_mail', required=False, default="", nargs='?') + p.add_argument('--s_address', dest='s_address', required=False, default="", nargs='?') + p.add_argument('--i_submission_date', dest='i_submission_date', required=False, default="", nargs='?') + p.add_argument('--i_release_date', dest='i_release_date', required=False, default="", nargs='?') + p.add_argument('--i_description', dest='i_description', required=False, default="", nargs='?') + p.add_argument('--i_pubmed', dest='i_pubmed', required=False, default="", nargs='?') + p.add_argument('--i_pub_doi', dest='i_pub_doi', required=False, default="", nargs='?') + p.add_argument('--i_pub_title', dest='i_pub_title', required=False, default="", nargs='?') + p.add_argument('--i_pub_status', dest='i_pub_status', required=False, default="", nargs='?') + p.add_argument('--i_pub_author', dest='i_pub_author', required=False, default="", nargs='?') + p.add_argument('--i_first_name', dest='i_first_name', required=False, default="", nargs='?') + p.add_argument('--i_mid_initials', dest='i_mid_initials', required=False, default="", nargs='?') + p.add_argument('--i_last_name', dest='i_last_name', required=False, default="", nargs='?') + p.add_argument('--i_telephone', dest='i_telephone', required=False, default="", nargs='?') + p.add_argument('--i_fax', dest='i_fax', required=False, default="", nargs='?') + p.add_argument('--i_affiliation', dest='i_affiliation', required=False, default="", nargs='?') + p.add_argument('--i_role', dest='i_role', required=False, default="", nargs='?') + p.add_argument('--i_mail', dest='i_mail', required=False, default="", nargs='?') + p.add_argument('--i_address', dest='i_address', required=False, default="", nargs='?') + p.add_argument('--organism_text', dest='organism_text', required=False, default="", nargs='?') + p.add_argument('--organism_ref', dest='organism_ref', required=False, default="", nargs='?') + p.add_argument('--organism_iri', dest='organism_iri', required=False, default="", nargs='?') + p.add_argument('--organism_part_text', dest='organism_part_text', required=False, default="", nargs='?') + p.add_argument('--organism_part_ref', dest='organism_part_ref', required=False, default="", nargs='?') + p.add_argument('--organism_part_iri', dest='organism_part_iri', required=False, default="", nargs='?') + p.add_argument('--organism_variant_text', dest='organism_variant_text', required=False, default="", nargs='?') + p.add_argument('--organism_variant_ref', dest='organism_variant_ref', required=False, default="", nargs='?') + p.add_argument('--organism_variant_iri', dest='organism_variant_iri', required=False, default="", nargs='?') + + args = p.parse_args() + + USERMETA = {'characteristics': {'organism': {'name': '', 'accession': '', 'ref': ''}, + 'organism_variant': {'name': '', 'accession': '', 'ref': ''}, + 'organism_part': {'name': '', 'accession': '', 'ref': ''}, + }, + 'investigation': {'identifier': '', 'title': 'Investigation', 'description': '', + 'submission_date': '', 'release_date': '' + }, + 'investigation_publication': {'pubmed': '', 'doi': '', 'author_list': '', 'title': '', + 'status': {'name': '', 'accession': '', 'ref': 'PSO'}, + }, + + 'study': { + 'title': '', 'description': '', 'submission_date': '', 'release_date': '', + }, + 'study_publication': {'pubmed': '', 'doi': '', 'author_list': '', 'title': '', + 'status': {'name': '', 'accession': '', 'ref': 'PSO'}, + }, + + 'description': {'sample_collect': '', 'extraction': '', 'chroma': '', 'mass_spec': '', + 'data_trans': '', 'metabo_id': '' + }, + + # Multiple Values Parameters + 'study_contacts': [ + {'first_name': '', 'last_name': '', 'mid': '', 'email': '', + 'fax': '', 'phone': '', 'adress': '', 'affiliation': '', + 'roles': {'name': '', 'accession': '', 'ref': ''}, + }, + ], + + 'investigation_contacts': [ + {'first_name': '', 'last_name': '', 'mid': '', 'email': '', + 'fax': '', 'phone': '', 'adress': '', 'affiliation': '', + 'roles': {'name': '', 'accession': '', 'ref': ''}, + }, + ], + + 'Post Extraction': {'value': ''}, + 'Derivatization': {'value': ''}, + 'Chromatography Instrument': {'name': '', 'ref': '', 'accession': ''}, + 'Column type': {'value': ''}, + 'Column model': {'value': ''}, + } + + # check if using json file + if args.jsontxt and os.path.isfile(args.jsontxt): + with open(args.jsontxt, 'r') as f: + USERMETA = json.load(f) + else: + + # Fill in USERMETA dictionary + USERMETA['characteristics']['organism']['value'] = args.organism_text + USERMETA['characteristics']['organism']['accession'] = args.organism_iri + USERMETA['characteristics']['organism']['ref'] = args.organism_ref + + USERMETA['characteristics']['organism_variant']['value'] = args.organism_variant_text + USERMETA['characteristics']['organism_variant']['accession'] = args.organism_variant_iri + USERMETA['characteristics']['organism_variant']['ref'] = args.organism_variant_ref + + USERMETA['characteristics']['organism_part']['value'] = args.organism_part_text + USERMETA['characteristics']['organism_part']['accession'] = args.organism_part_iri + USERMETA['characteristics']['organism_part']['ref'] = args.organism_part_ref + + # USERMETA['investigation']['identifier'] = # uses study identifier + USERMETA['investigation']['description'] = args.i_description + USERMETA['investigation']['submission_date'] = args.i_submission_date + USERMETA['investigation']['release_date'] = args.i_release_date + + USERMETA['investigation_publication']['pubmed'] = args.i_pubmed + USERMETA['investigation_publication']['author_list'] = args.i_pub_author + USERMETA['investigation_publication']['title'] = args.i_pub_title + USERMETA['investigation_publication']['doi'] = args.i_pub_doi + USERMETA['investigation_publication']['status']['name'] = ontology_lookup(args.i_pub_status, 'status') + USERMETA['investigation_publication']['status']['accession'] = args.i_pub_status + + USERMETA['investigation_contacts'][0]['first_name'] = args.i_first_name + USERMETA['investigation_contacts'][0]['last_name'] = args.i_last_name + USERMETA['investigation_contacts'][0]['mid'] = args.i_mid_initials + USERMETA['investigation_contacts'][0]['email'] = args.i_mail + USERMETA['investigation_contacts'][0]['fax'] = args.i_fax + USERMETA['investigation_contacts'][0]['phone'] = args.i_telephone + USERMETA['investigation_contacts'][0]['adress'] = args.i_address + USERMETA['investigation_contacts'][0]['affiliation'] = args.i_affiliation + USERMETA['investigation_contacts'][0]['roles']['name'] = ontology_lookup(args.i_role, 'role') + USERMETA['investigation_contacts'][0]['roles']['accession'] = args.i_role + + USERMETA['study']['title'] = args.study_title + USERMETA['study']['description'] = args.s_description + USERMETA['study']['submission_date'] = args.s_submission_date + USERMETA['study']['release_date'] = args.s_release_date + + USERMETA['study_publication']['pubmed'] = args.s_pubmed + USERMETA['study_publication']['author_list'] = args.s_pub_author + USERMETA['study_publication']['title'] = args.s_pub_title + USERMETA['study_publication']['doi'] = args.s_pub_doi + USERMETA['study_publication']['status']['name'] = ontology_lookup(args.s_pub_status, 'status') + USERMETA['study_publication']['status']['accession'] = args.s_pub_status + + USERMETA['study_contacts'][0]['first_name'] = args.s_first_name + USERMETA['study_contacts'][0]['last_name'] = args.s_last_name + USERMETA['study_contacts'][0]['mid'] = args.s_mid_initials + USERMETA['study_contacts'][0]['email'] = args.s_mail + USERMETA['study_contacts'][0]['fax'] = args.s_fax + USERMETA['study_contacts'][0]['phone'] = args.s_telephone + USERMETA['study_contacts'][0]['adress'] = args.s_address + USERMETA['study_contacts'][0]['affiliation'] = args.s_affiliation + USERMETA['study_contacts'][0]['roles']['name'] = ontology_lookup(args.s_role, 'role') + USERMETA['study_contacts'][0]['roles']['accession'] = args.s_role + + + try: + from mzml2isa.parsing import full_parse + # import progressbar as pb + # parse the files + full_parse(args.inputzip, args.out_dir, args.study_title, usermeta=USERMETA, split=True, merge=False, verbose=True, + multip=False) + + except ImportError: + import tempfile + temp = tempfile.NamedTemporaryFile() + temp.write(json.dumps(USERMETA)) + temp.seek(0) + os.system("mzml2isa -i %s -o %s -s %s -m %s" % (args.inputzip, args.out_dir, args.study_title, temp.name)) + temp.close() + + # The html output is now redundant, the output will be hidden to end user. Have left here in case we need to + # revert back to the old output style. If this is the case we need to use + # 'wrapper.py -out_dir $html_file.extra_files_path' in the xml code + html_code = 'a_%s_metabolite_profiling_mass_spectrometry.txt' \ + '
i_Investigation.txt
' \ + 's_test.txt
' % tuple([args.study_title] * 6) + + with open(args.html_file, 'wb') as f: + f.write(html_code) + + + +if __name__ == "__main__": + main() diff -r 000000000000 -r 8f5496765a22 mzml2isa-galaxy-master/packages/package_mzml2isa_0_4_24/shed.yml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mzml2isa-galaxy-master/packages/package_mzml2isa_0_4_24/shed.yml Wed Feb 01 10:03:17 2017 -0500 @@ -0,0 +1,10 @@ +name: package_mzml2isa_0_4_19 +owner: rjmweber +description: Contains a tool dependency definition that downloads and extract version 0.4.19 of mzml2isa. +homepage_url: https://github.com/ISA-tools/mzml2isa +long_description: mzml2isa is a Python program that can be used to generate an ISA-Tab structure out of mzML files, providing the backbone of a study which can then be edited with an ISA editing tool (see MetaboLights pre-packaged ISA Creator - http://www.ebi.ac.uk/metabolights/)" +remote_repository_url: https://github.com/ISA-tools/mzml2isa +type: tool_dependency_definition +categories: +- Tool Dependency Packages + diff -r 000000000000 -r 8f5496765a22 mzml2isa-galaxy-master/packages/package_mzml2isa_0_4_24/tool_dependencies.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mzml2isa-galaxy-master/packages/package_mzml2isa_0_4_24/tool_dependencies.xml Wed Feb 01 10:03:17 2017 -0500 @@ -0,0 +1,22 @@ + + + + + + https://pypi.python.org/packages/bd/bd/1b1e9842eceb80d71d33d65c0b540457f8bcd264f283e81dd7c2d4cb3a30/mzml2isa-0.4.24.zip + $INSTALL_DIR/lib/python + export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python + mzml2isa-0.4.24 + python setup.py install --install-lib $INSTALL_DIR/lib/python + + $INSTALL_DIR/lib/python + + + + +Parser to get meta information from mzML file and parse relevant information to a ISA-Tab structure + +https://github.com/ISA-tools/mzml2isa + + + diff -r 000000000000 -r 8f5496765a22 mzml2isa-galaxy-master/test.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mzml2isa-galaxy-master/test.sh Wed Feb 01 10:03:17 2017 -0500 @@ -0,0 +1,22 @@ +sudo apt-get install python-dev libxml2-dev libxslt1-dev zlib1g-dev +sudo apt-get install -y python-virtualenv +virtualenv planemo-venv +. planemo-venv/bin/activate +pip install --upgrade pip setuptools +pip install planemo +#planemo travis_before_install +#. .travis/env.sh # source environment created by planemo +export DOWNLOAD_CACHE=$HOME/download_cache +mkdir $DOWNLOAD_CACHE +#git clone https://github.com/ISA-tools/mzml2isa-galaxy.git +planemo dependency_script -r packages/package_mzml2isa_0_4_22/ +. env.sh +bash dep_install.sh +planemo test --galaxy_root=../galaxy galaxy/mzml2isa/ +rm env.sh +rm dep_install.sh +deactivate #exit virtualenv +rm -r planemo-venv +rm -r lib + +