Skip to content

Commit

Permalink
Test data change to lighter files
Browse files Browse the repository at this point in the history
Removing former test data to use lighter files (~3Mb each) and implementing suitable changes into .xml and readme
  • Loading branch information
Quentin Ruin committed Sep 30, 2024
1 parent f0f9956 commit 8615bab
Show file tree
Hide file tree
Showing 16 changed files with 227,715 additions and 447,631 deletions.
9 changes: 4 additions & 5 deletions tools/mzxmlshaper/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,13 @@ Configuration
Technical description
-----------

Main files:
Main files: ## à modifier

- mzXMLShaper.R: R function (core script)
- mzXMLShaper.xml: XML wrapper (interface for Galaxy)
- 111-1_POS01.CDF (test file): Riker Metabolome Database (http://metabobank.riken.jp/metabo/db/plantMetabolomics/http:/metadb.riken.jp/db/plantMetabolomics/0.1/File/RPMM0054_111-1)
- BlancFin_POS_RA1_1_6869.mzML (test file): Internal blank sample, PFEM - INRAE (https://pfem.isc.inrae.fr/)
- example.mzXML (test file): PRIDE Toolsuite (https://github.com/PRIDE-Toolsuite/inspector-example-files/blob/master/peak-files/example.mzXML.gz)

- ko16.CDF: netCDF test file from faahKO Bioconductor package (https://www.bioconductor.org/packages/release/data/experiment/html/faahKO.html)
- ko16.mzml: ko.CDF file converted to mzML using mzR R package
- ko16.mzXml: ko.CDF file converted to mzXML using mzR R package

Services provided
-----------
Expand Down
21 changes: 11 additions & 10 deletions tools/mzxmlshaper/mzXMLShaper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#if str($outformat) == 'mzml':
outputfilename '$mzml_file'
#elif str($outformat) == 'mzXml':
str($outformat) == 'mzXml':
outputfilename '$mzXml_file'
#end if
]]></command>
Expand All @@ -29,38 +30,38 @@
<data format="mzml" label="${infile.name}_converted.mzml" name="mzml_file">
<filter>outformat=="mzml"</filter>
</data>
<data format="mzxml" label="${infile.name}_converted.mzxml" name="mzXml_file">
<data format="mzxml" label="${infile.name}_converted.mzml" name="mzXml_file">
<filter>outformat=="mzXml"</filter>
</data>
</outputs>
<tests>
<test expect_num_outputs="1">
<param name="infile" value="original_data/111-1_POS01.CDF"/>
<param name="infile" value="original_data/ko16.CDF"/>
<param name="outformat" value="mzml"/>
<output name="mzml_file" file="conversion_result_cdf_to_mzml.mzml"/>
<output name="mzml_file" file="conversion_result_cdf_to_mzml.mzml" />
</test>
<test expect_num_outputs="1">
<param name="infile" value="original_data/111-1_POS01.CDF"/>
<param name="infile" value="original_data/ko16.CDF"/>
<param name="outformat" value="mzXml"/>
<output name="mzXml_file" file="conversion_result_cdf_to_mzxml.mzxml"/>
</test>
<test expect_num_outputs="1">
<param name="infile" value="original_data/example.mzXML"/>
<param name="infile" value="original_data/ko16.mzXml"/>
<param name="outformat" value="mzml"/>
<output name="mzml_file" file="conversion_result_mzxml_to_mzml.mzml"/>
<output name="mzml_file" file="conversion_result_mzxml_to_mzml.mzml" />
</test>
<test expect_num_outputs="1">
<param name="infile" value="original_data/example.mzXML"/>
<param name="infile" value="original_data/ko16.mzXml"/>
<param name="outformat" value="mzXml"/>
<output name="mzXml_file" file="conversion_result_mzxml_to_mzxml.mzxml"/>
</test>
<test expect_num_outputs="1">
<param name="infile" value="original_data/BlancFin_POS_RA1_1_6869.mzML"/>
<param name="infile" value="original_data/ko16.mzml"/>
<param name="outformat" value="mzml"/>
<output name="mzml_file" file="conversion_result_mzml_to_mzml.mzml"/>
<output name="mzml_file" file="conversion_result_mzml_to_mzml.mzml" />
</test>
<test expect_num_outputs="1">
<param name="infile" value="original_data/BlancFin_POS_RA1_1_6869.mzML"/>
<param name="infile" value="original_data/ko16.mzml"/>
<param name="outformat" value="mzXml"/>
<output name="mzXml_file" file="conversion_result_mzml_to_mzxml.mzxml"/>
</test>
Expand Down
Binary file removed tools/mzxmlshaper/test-data/111-1_POS01.CDF
Binary file not shown.
59,662 changes: 0 additions & 59,662 deletions tools/mzxmlshaper/test-data/BlancFin_POS_RA1_1_6869.mzML

This file was deleted.

Loading

0 comments on commit 8615bab

Please sign in to comment.