Next changeset 1:b2ae577a321c (2016-05-23) |
Commit message:
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/hardklor commit f37e6d0357de4d9b1cd743ca291a7d4df2cc7a5f-dirty |
added:
README.rst datatypes_conf.xml hardklor.conf hardklor.py hardklor.xml kronik.xml test-data/hardklor_result.hk test-data/kronik_result.kr test-data/ms1_spectra.mzml tool_dependencies.xml |
b |
diff -r 000000000000 -r d796e6613d19 README.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/README.rst Mon May 23 11:12:40 2016 -0400 |
b |
@@ -0,0 +1,37 @@ +GalaxyP - Hardklör +======================= + +- Home: <https://github.com/galaxyproteomics/tools-galaxyp/> +- Galaxy Tool Shed: <http://toolshed.g2.bx.psu.edu/view/galaxyp/hardklor +- Tool ID: `hardklor`, `kronik` + + +Description +----------- + +Hardklör identifies peptide or protein-like features in mass spectra. It deconvolves overlapping ion signals and can be used on a variety of input formats. +This package contains both Hardklör and its auxiliary tool Krönik, which filters, validates, and summarizes peptide features identified with Hardklör from data obtained during liquid chromatography mass spectrometry (LC-MS). + + +GalaxyP Community +----------------- + +Current governing community policies for GalaxyP_ and other information can be found at: + +<https://github.com/galaxyproteomics> + +.. _GalaxyP: https://github.com/galaxyproteomics/ + + +Contributing +------------ + +Contributions to this repository are reviewed through pull requests. If you would like your work acknowledged, please also add yourself to the Authors section. If your pull request is accepted, you will also be acknowledged in <https://github.com/galaxyproteomics/tools-galaxyp/> + + +Authors +------- + +Authors and contributors: + +* Jorrit Boekel |
b |
diff -r 000000000000 -r d796e6613d19 datatypes_conf.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/datatypes_conf.xml Mon May 23 11:12:40 2016 -0400 |
b |
@@ -0,0 +1,7 @@ +<?xml version="1.0"?> +<datatypes> + <registration> + <datatype extension="hk" type="galaxy.datatypes.text:Tabular" subclass="true" /> + <datatype extension="kr" type="galaxy.datatypes.text:Tabular" subclass="true" /> + </registration> +</datatypes> |
b |
diff -r 000000000000 -r d796e6613d19 hardklor.conf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/hardklor.conf Mon May 23 11:12:40 2016 -0400 |
b |
@@ -0,0 +1,65 @@ +# Hardklor parameter file +# Version 2.3.0 +# Please see online documentation for detailed explanations: +# https://code.google.com/p/hardklor/wiki/Documentation + +# All parameters are separated from their values by an equals sign ('=') +# Anything after a '#' will be ignored for the remainder of the line. +# All data files (including paths if necessary) to be analyzed are discussed below. + +# Parameters used to described the data being input to Hardklor +instrument = {instrument} #Values are: FTICR, Orbitrap, TOF, QIT +resolution = {resolution} #Resolution at 400 m/z (def. 60000) +centroided = {centroided} #0=no, 1=yes + +# Parameters used in preprocessing spectra prior to analysis +ms_level = {mslvl} #1=MS1, 2=MS2, 3=MS3, 0=all +scan_range_min = 0 #ignore any spectra lower than this number, 0=off +scan_range_max = 0 #ignore any spectra higher than this number, 0=off +signal_to_noise = 0 #set signal-to-noise ratio, 0=off +sn_window = 250.0 #size in m/z for computing localized noise level in a spectrum. +static_sn = 0 #0=off, 1=on. Apply lowest localized noise level to entire spectrum. +boxcar_averaging = 0 #0=off, or specify number of scans to average together, use odd numbers only +boxcar_filter = 0 #0=off, when using boxcar_averaging, only keep peaks seen in this number of scans + # currently being averaged together. When on, signal_to_noise is not used. +boxcar_filter_ppm = 5 #Tolerance in ppm for matching peaks across spectra in boxcar_filter +mz_min = 0 #Sets lower bound of spectrum m/z range to analyze, 0=off +mz_max = 0 #Sets upper bound of spectrum m/z range to analyze, 0=off +smooth = 0 #Peforms Savitzky-Golay smoothing of peaks data. 0=off + # Not recommended for high resolution data. + +# Parameters used to customize the Hardklor analysis. Some of these parameters will drastically +# affect the analysis speed and results. Please consult the documentation and choose carefully! +algorithm = {algorithm} #Algorithms include: Basic, Version1, Version2 +charge_algorithm = {charge_algo} #Preferred method for feature charge identification. + # Values are: Quick, FFT, Patterson, Senko, None + # If None is set, all charge states are assumed, slowing Hardklor +charge_min = {mincharge} #Lowest charge state allowed in the analysis. +charge_max = {maxcharge} #Highest charge state allowed in the analysis. +correlation = {correlation} #Correlation threshold to accept a peptide feature. +averagine_mod = 0 #Formula containing modifications to the averagine model. + # Read documentation carefully before using! 0=off +mz_window = 5.25 #Breaks spectrum into windows not larger than this value for Version1 algorithm. +sensitivity = {sensitivity} #Values are 0 (lowest) to 3 (highest). Increasing sensitivity + # identifies more features near the noise where the isotope distribution + # may not be fully visible. However, these features are also more + # likely to be false. +depth = {depth} #Depth of combinatorial analysis. This is the maximum number of overlapping + # features allowed in any mz_window. Each increase requires exponential + # computation. In other words, keep this as low as necessary!!! +max_features = {maxfeat} #Maximum number of potential features in an mz_window to combinatorially solve. + # Setting this too high results in wasted computation time trying to mix-and-match + # highly improbable features. + +# Parameters used to customize the Hardklor output +distribution_area = 1 #Report sum of distribution peaks instead of highest peak only. 0=off, 1=on +xml = 0 #Output results as XML. 0=off, 1=on + + +# Below this point is where files to be analyzed should go. They should be listed contain +# both the input file name, and the output file name. Each file to be analyzed should begin +# on a new line. By convention Hardklor output should have this extension: .hk +# Example: +#YourData.mzXML YourData.hk +#Data.mzXML Data.hk +{inputfile} {outputfile} |
b |
diff -r 000000000000 -r d796e6613d19 hardklor.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/hardklor.py Mon May 23 11:12:40 2016 -0400 |
[ |
@@ -0,0 +1,62 @@ +""" +Usage: +python hardklor.py ms1extenstion ms2extension ms1file +ms2file outputfile +""" +import sys +import os +import subprocess + + +CONFIG_FILE = 'hk.conf' +extension_lookup = { + 'mzml' : 'mzML', + 'mzxml' : 'mzXML', + 'ms1' : 'MS1', + } + +# input: +ms1_ext = sys.argv[1] +ms1_file = sys.argv[2] +output_file = sys.argv[3] +config_load = os.path.join(os.path.split(sys.argv[0])[0], 'hardklor.conf') + +# parse options +options = {} +for arg in [x.split('=') for x in sys.argv[4:]]: + if arg[1] != '': + options[arg[0].replace('-', '')] = arg[1] + + +# create softlinks since hardklor needs "proper" extensions for input files +if ms1_ext in extension_lookup: + ms1_ext = extension_lookup[ms1_ext] + linkname = 'ms1_dsetlink.{0}'.format(ms1_ext) + os.symlink(ms1_file, linkname) + ms1_file = linkname + +# load template and dump to config file +with open(config_load) as fp: + config_str = fp.read() +config_to_dump = config_str.format( + instrument=options['instrument'], + resolution=options['resolution'], + centroided=options['centroided'], + mslvl=options['mslvl'], + depth=options['depth'], + algorithm=options['algorithm'], + charge_algo=options['charge_algo'], + mincharge=options['mincharge'], + maxcharge=options['maxcharge'], + correlation=options['correlation'], + sensitivity=options['sensitivity'], + maxfeat=options['maxfeat'], + inputfile=ms1_file, + outputfile=output_file, + ) +with open(CONFIG_FILE, 'w') as fp: + fp.write(config_to_dump) + +# Run hardklor +err = subprocess.call(['hardklor', CONFIG_FILE]) +sys.exit(err) |
b |
diff -r 000000000000 -r d796e6613d19 hardklor.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/hardklor.xml Mon May 23 11:12:40 2016 -0400 |
b |
@@ -0,0 +1,75 @@ +<tool id="hardklor" name="Hardklor" version="2.30"> + <description>identification of features from mass spectra</description> + <requirements> + <requirement type="package" version="2.30">hardklor</requirement> + </requirements> + <stdio> + <exit_code range="1:" level="fatal"/> + </stdio> + <command>python $__tool_directory__/hardklor.py "$ms1_in.extension" "$ms1_in" + "$output" -charge_algo=$cdm -resolution=$res -centroided=$centroided -instrument=$instrument -algorithm=$algorithm -mincharge=$chMin + -maxcharge=$chMax -mslvl=$mslvl -correlation=$corr -depth=$depth -sensitivity=$sens -maxfeat=$maxfeat</command> + <inputs> + <param name="ms1_in" type="data" format="mzml" label="MS1 files with precursor spectra " /> + <param name="res" type="integer" value="60000" label="Spectral resolution at 400m/z" /> + <param name="centroided" type="select" display="radio" label="Centroided data?"> + <option value="0" selected="true">No</option> + <option value="1">Yes</option> + </param> + <param name="instrument" type="select" label="Instrument" > + <option value="Orbitrap" selected="true">Orbitrap</option> + <option value="FTICR" >FTICR</option> + <option value="TOF" >TOF</option> + <option value="QIT" >Quadrupole ion trap</option> + </param> + <param name="mslvl" type="select" display="radio" label="MS level"> + <option value="0" >All</option> + <option value="1" selected="true">MS1</option> + <option value="2">MS2</option> + <option value="3">MS3</option> + </param> + <param name="algorithm" type="select" label="Algorithm"> + <option value="Basic">Basic</option> + <option value="Version1">Version 1</option> + <option value="Version2" selected="true">Version 2</option> + </param> + <param name="cdm" type="select" label="Charge determination method"> + <option value="None">None</option> + <option value="FFT">Fast Fourier Transform</option> + <option value="Patterson">Patterson Algorithm</option> + <option value="Quick" selected="true">Quick</option> + <option value="Senko">Senko</option> + </param> + + <param name="chMin" type="integer" value="1" label="Min charge state" /> + <param name="chMax" type="integer" value="5" label="Max charge state" /> + + <param name="corr" type="float" value="0.95" label="Correlation threshold" /> + <param name="sens" type="integer" value="2" label="Sensitivity level" help="Ranges from 0 (min, fast) to 3 (max, slow)" /> + <param name="depth" type="integer" value="2" label="Depth of combinatorial analysis" +help="Max number of overlapping features in any mz window. Keep as low as necessary for speed" /> + <param name="maxfeat" type="integer" value="12" label="Max nr. of features for mz-window to solve" /> + +<!-- <param name="sn" type="float" value="1" label="Signal to noise threshold" help="Must be >=0" /> + <param name="snWin" type="float" optional="true" label="Dynamic signal to noise window length (m/z)" + help="For spectra with varying noise levels (not for Thermo data)"/> + <param name="win" type="float" value="5.25" label="Max width of any set of peaks in a spectrum" /> --> + </inputs> + + <outputs> + <data format="hk" name="output" /> + </outputs> + <tests> + <test> + <param name="ms1_in" value="ms1_spectra.mzml"/> + <output name="output" file="hardklor_result.hk"/> + </test> + </tests> + <help> + Hardklör identifies peptide or protein-like features in mass spectra. It deconvolves overlapping ion signals and can be used on a variety of input formats. The output of Hardklör can be used by the Krönik tool which summarizes the peptide features over time in an LC-MS experiment. + </help> + <citations> + <citation type="doi">10.1021/ac0700833</citation> + <citation type="doi">10.1002/0471250953.bi1318s37</citation> + </citations> +</tool> |
b |
diff -r 000000000000 -r d796e6613d19 kronik.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/kronik.xml Mon May 23 11:12:40 2016 -0400 |
b |
@@ -0,0 +1,34 @@ +<tool id="kronik" name="Kronik" version="2.02"> + <description>processes Hardklör features to find peptides by chromatographic profiling</description> + <requirements> + <requirement type="package" version="2.02">kronik</requirement> + </requirements> + <stdio> + <exit_code range="1:" level="fatal" description="Error occurred while running Kronik"/> + </stdio> + <command>kronik -c $c -d $d -g $g -m $m -n $n -p $p "$inputfile" "$output"</command> + <inputs> + <param name="inputfile" type="data" format="hk" label="Hardklör isotope distributions" /> + <param name="c" type="integer" value="5" label="Contaminant threshold in minutes" help="Peptides persisting for longer than this value are excluded" /> + <param name="d" type="integer" value="3" label="Match tolerance" help="Minimum consecutive scans peptide must be found in" /> + <param name="g" type="integer" value="1" label="Gap tolerance" help="Maximum amount of scans a peptide can skip to be considered in results" /> + <param name="m" type="integer" value="8000" label="Max mass (Da)" help="Maximum mass of peptide isotope distribution" /> + <param name="n" type="integer" value="600" label="Min mass (Da)" help="Minimum mass of peptide isotope distribution" /> + <param name="p" type="integer" value="10" label="Mass accuracy (ppm)" help="Peptides in adjacent scans must differ by less than this value to be called the same." /> + </inputs> + <outputs> + <data format="kr" name="output" /> + </outputs> + <tests> + <test> + <param name="inputfile" value="hardklor_result.hk"/> + <output name="output" file="kronik_result.kr" /> + </test> + </tests> + <help> +Krönik filters, validates, and summarizes peptide features identified with Hardklör from data obtained during liquid chromatography mass spectrometry (LC-MS). Hardklör and Krönik were designed to rapidly identify peptide and protein features in high resolution spectra of complex mixtures. These algorithms were developed to meet the demands of modern mass spectrometers that are capable of generating large amounts of robust mass spectrometry data. Spectra containing tens to hundreds of overlapping ion signals are reduced to a relevant list of observed monoisotopic mass values, charge states, and signal intensity values when using Hardklör. These features are then filtered, validated, and summarized by using Krönik for the analysis of liquid chromatography mass spectrometry (LC-MS) data. + </help> + <citations> + <citation type="doi">10.1002/0471250953.bi1318s37</citation> + </citations> +</tool> |
b |
diff -r 000000000000 -r d796e6613d19 test-data/hardklor_result.hk --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/hardklor_result.hk Mon May 23 11:12:40 2016 -0400 |
b |
b'@@ -0,0 +1,414 @@\n+S\t101\t0.3857\tms1_dsetlink.mzML\t0.0\t0\t0.0\n+P\t300.9442\t1\t156815\t301.9515\t300.9997-304.1756\t0.0000\t_\t0.9997\n+P\t302.0080\t1\t34110\t303.0153\t301.9577-305.1799\t0.0000\t_\t0.9987\n+P\t303.1683\t1\t26398\t304.1756\t304.0188-306.8777\t0.0000\t_\t0.9999\n+P\t304.9279\t1\t24458\t305.9352\t305.1799-308.1345\t0.0000\t_\t0.9806\n+P\t307.9366\t1\t27301\t308.9439\t308.1345-311.9544\t0.0000\t_\t0.9536\n+P\t307.9661\t1\t86539\t308.9734\t308.1345-311.9544\t0.0000\t_\t0.9969\n+P\t313.9434\t1\t110303\t314.9507\t313.9586-317.0835\t0.0000\t_\t0.9999\n+P\t315.9683\t1\t99636\t316.9756\t316.0097-319.1732\t0.0000\t_\t0.9918\n+P\t315.9873\t1\t110307\t316.9946\t316.8789-319.1732\t0.0000\t_\t0.9989\n+P\t316.9397\t1\t368505\t317.9470\t317.0835-320.8817\t0.0000\t_\t0.9845\n+P\t317.8670\t1\t17768\t318.8743\t318.1402-321.0057\t0.0000\t_\t0.9823\n+P\t318.9354\t1\t50534\t319.9427\t319.1732-322.9201\t0.0000\t_\t0.9864\n+P\t321.9801\t1\t373459\t322.9874\t321.9500-325.2739\t0.0000\t_\t0.9944\n+P\t322.9021\t1\t116587\t323.9094\t323.0368-326.9454\t0.0000\t_\t1.0000\n+P\t322.9384\t1\t223559\t323.9457\t323.0368-326.9454\t0.0000\t_\t0.9902\n+P\t324.9340\t1\t45406\t325.9413\t325.2739-328.8652\t0.0000\t_\t0.9994\n+P\t324.9628\t1\t28000\t325.9701\t325.2739-328.8652\t0.0000\t_\t0.9883\n+P\t326.0014\t1\t370172\t327.0087\t325.9701-329.9567\t0.0000\t_\t0.9991\n+P\t1630.2215\t5\t18324\t327.0516\t326.9454-328.8652\t0.0000\t_\t0.9759\n+P\t327.9984\t1\t362514\t329.0057\t328.8652-331.9337\t0.0000\t_\t0.9956\n+P\t329.9951\t1\t131921\t331.0024\t330.8676-333.3004\t0.0000\t_\t0.9908\n+P\t331.9326\t1\t38811\t332.9399\t332.1413-335.2225\t0.0000\t_\t0.9981\n+P\t346.9756\t1\t491668\t347.9829\t347.1815-350.8927\t0.0000\t_\t1.0000\n+P\t347.9957\t1\t2120795\t349.0030\t348.8353-351.2742\t0.0000\t_\t0.9955\n+P\t349.9750\t1\t222984\t350.9824\t350.0066-353.1461\t0.0000\t_\t0.9929\n+P\t349.9916\t1\t305296\t350.9989\t350.8927-353.1461\t0.0000\t_\t0.9928\n+P\t350.9338\t1\t167914\t351.9411\t351.2742-354.8337\t0.0000\t_\t0.9863\n+P\t351.9997\t1\t13090\t353.0070\t352.0018-355.9688\t0.0000\t_\t0.9931\n+P\t355.9677\t1\t616659\t356.9750\t356.8621-359.1307\t0.0000\t_\t0.9865\n+P\t363.9909\t1\t32275\t364.9983\t364.1471-367.2698\t0.0000\t_\t0.9986\n+P\t365.9699\t1\t200119\t366.9772\t366.0014-369.1259\t0.0000\t_\t0.9856\n+P\t367.9775\t1\t458336\t368.9849\t367.9783-371.3164\t0.0000\t_\t0.9933\n+P\t1109.9205\t3\t148068\t370.9808\t369.9879-372.8974\t0.0000\t_\t1.0000\n+P\t370.3091\t1\t279819\t371.3164\t371.0056-373.9622\t0.0000\t_\t0.9926\n+P\t371.9625\t1\t366684\t372.9698\t372.3199-375.9575\t0.0000\t_\t0.9924\n+P\t372.0137\t1\t527149\t373.0210\t372.9089-375.9575\t0.0000\t_\t0.9975\n+P\t372.9549\t1\t470442\t373.9622\t373.3225-376.1947\t0.0000\t_\t0.9948\n+P\t373.9926\t1\t47036\t374.9999\t374.8638-378.9137\t0.0000\t_\t0.9889\n+P\t374.0087\t1\t46284\t375.0160\t374.8638-378.9137\t0.0000\t_\t0.9947\n+P\t374.9502\t1\t61430\t375.9575\t375.0255-378.9137\t0.0000\t_\t0.9941\n+P\t378.9284\t1\t78371\t379.9357\t379.0137-383.9336\t0.0000\t_\t0.9947\n+P\t1535.9803\t4\t45801\t385.0024\t384.8923-386.9363\t0.0000\t_\t0.9969\n+P\t386.0026\t1\t28141\t387.0099\t385.9416-389.3465\t0.0000\t_\t0.9951\n+P\t386.9414\t1\t107807\t387.9487\t387.0377-390.8712\t0.0000\t_\t0.9885\n+P\t387.3355\t1\t79908\t388.3427\t387.9778-390.8712\t0.0000\t_\t0.9997\n+P\t390.2777\t1\t1352907\t391.2850\t391.0849-393.9515\t0.0000\t_\t0.9996\n+P\t390.9654\t1\t185044\t391.9727\t391.4910-394.3468\t0.0000\t_\t0.9996\n+P\t392.0199\t1\t134682\t393.0272\t392.2882-395.9303\t0.0000\t_\t0.9962\n+P\t396.9729\t1\t30384\t397.9802\t395.9303-400.8810\t0.0000\t_\t0.9978\n+P\t400.9163\t1\t496454\t401.9236\t400.9129-404.9228\t0.0000\t_\t0.9929\n+P\t400.9671\t1\t639518\t401.9744\t400.9129-404.9228\t0.0000\t_\t0.9947\n+P\t402.9117\t1\t89052\t403.9190\t402.9772-406.8438\t0.0000\t_\t0.9885\n+P\t402.9465\t1\t49505\t403.9538\t402.9772-406.8438\t0.0000\t_\t0.9998\n+P\t404.0155\t1\t162064\t405.0228\t403.9819-407.9710\t0.0000\t_\t0.9924\n+P\t406.0124\t1\t146735\t407.0197\t406.8438-409.9472\t0.0000\t_\t0.9971\n+P\t412.9787\t1\t59475\t413.9860\t413.2673-416.8760\t0.0000\t_\t0.9541\n+P\t414.9834\t1\t17779\t415.9907\t414.9893-419.3163\t0.0000\t_\t0.9985\n+P\t418.3090\t1\t81212\t419.3163\t417.8480-421.9779\t0.0000\t_\t0.9842\n+P\t427.8998\t1\t45142\t428.9071\t427.3794-431.0868\t0.0000\t_\t0.9942\n+P\t428.0826\t1\t67300\t429.0899\t428.9071-432.8257\t0.0000\t_\t0.9856\n+P\t441.9645\t1\t404565\t442.9718\t441.1864-445.1211\t0.0000\t_\t0.9840\n+P\t444.1138\t1\t25226\t445.1211\t444.9661-447.3479\t0.0000\t_\t0.9'..b'092\t1\t259205\t371.3165\t370.9902-373.9622\t0.0000\t_\t0.9981\n+P\t372.0138\t1\t521809\t373.0211\t372.8972-375.9576\t0.0000\t_\t0.9944\n+P\t372.9549\t1\t479778\t373.9622\t373.3213-376.8819\t0.0000\t_\t0.9996\n+P\t373.9928\t1\t48638\t375.0001\t374.0246-378.8613\t0.0000\t_\t0.9980\n+P\t374.9503\t1\t69210\t375.9576\t375.0262-378.8613\t0.0000\t_\t0.9923\n+P\t386.9413\t1\t105444\t387.9486\t387.0096-390.8484\t0.0000\t_\t0.9899\n+P\t387.3358\t1\t74566\t388.3431\t387.9779-390.8484\t0.0000\t_\t0.9992\n+P\t390.2778\t1\t1298260\t391.2851\t390.9949-393.9679\t0.0000\t_\t0.9994\n+P\t390.9655\t1\t154077\t391.9728\t391.2851-394.1732\t0.0000\t_\t0.9990\n+P\t392.0201\t1\t116212\t393.0274\t392.2883-395.9305\t0.0000\t_\t0.9897\n+P\t394.9232\t1\t48268\t395.9305\t395.0229-398.7926\t0.0000\t_\t0.9957\n+P\t400.9165\t1\t477131\t401.9238\t400.9137-404.9215\t0.0000\t_\t0.9928\n+P\t400.9671\t1\t564276\t401.9744\t400.9137-404.9215\t0.0000\t_\t0.9955\n+P\t402.9118\t1\t92522\t403.9191\t402.9773-406.0261\t0.0000\t_\t0.9874\n+P\t404.0156\t1\t129916\t405.0229\t404.9215-407.9705\t0.0000\t_\t0.9905\n+P\t406.0125\t1\t101420\t407.0198\t406.8437-409.9473\t0.0000\t_\t1.0000\n+P\t408.0100\t1\t28093\t409.0173\t408.0232-412.8673\t0.0000\t_\t0.9999\n+P\t412.9786\t1\t57441\t413.9859\t413.2673-416.8764\t0.0000\t_\t0.9832\n+P\t418.3090\t1\t56742\t419.3162\t417.9010-421.9443\t0.0000\t_\t0.9921\n+P\t427.8996\t1\t32475\t428.9069\t426.3679-431.0870\t0.0000\t_\t0.9951\n+P\t428.0824\t1\t97048\t429.0897\t428.9069-431.8894\t0.0000\t_\t0.9964\n+P\t441.9645\t1\t357194\t442.9718\t440.1790-445.1210\t0.0000\t_\t0.9868\n+P\t444.1137\t1\t25663\t445.1210\t444.9675-447.3480\t0.0000\t_\t0.9999\n+P\t892.6814\t2\t53818\t447.3480\t447.1184-449.0188\t0.0000\t_\t0.9995\n+P\t450.0279\t1\t150079\t451.0352\t450.8872-454.8239\t0.0000\t_\t0.9992\n+P\t456.2331\t1\t28600\t457.2404\t456.8770-462.1477\t0.0000\t_\t0.9999\n+P\t461.1404\t1\t107660\t462.1477\t458.2445-465.0003\t0.0000\t_\t0.9913\n+P\t478.9814\t1\t262265\t479.9887\t479.8671-482.9242\t0.0000\t_\t0.9986\n+P\t498.9430\t1\t46774\t499.9503\t497.9531-503.1085\t0.0000\t_\t0.9886\n+P\t535.1594\t1\t230581\t536.1667\t532.9617-539.0117\t0.0000\t_\t0.9888\n+P\t537.1559\t1\t54507\t538.1632\t537.1677-544.9741\t0.0000\t_\t0.9797\n+P\t582.1012\t1\t23971\t583.1085\t582.8699-586.8595\t0.0000\t_\t0.9973\n+P\t609.1781\t1\t197593\t610.1854\t603.7890-613.9777\t0.0000\t_\t0.9931\n+P\t611.1763\t1\t69135\t612.1836\t611.1862-617.3212\t0.0000\t_\t0.9802\n+P\t1222.6192\t2\t14184\t612.3169\t612.1836-614.8928\t0.0000\t_\t0.9966\n+P\t619.8787\t1\t72031\t620.8860\t618.4338-624.2997\t0.0000\t_\t0.9726\n+P\t647.0006\t1\t230765\t648.0079\t644.8240-654.3667\t0.0000\t_\t0.9722\n+P\t666.1702\t1\t21945\t667.1775\t661.8331-670.7084\t0.0000\t_\t0.9511\n+P\t667.9939\t1\t170460\t669.0013\t668.4634-673.1744\t0.0000\t_\t0.9781\n+P\t683.1974\t1\t146489\t684.2047\t680.9463-688.2020\t0.0000\t_\t0.9775\n+P\t685.1956\t1\t89336\t686.2029\t685.2057-694.9634\t0.0000\t_\t0.9754\n+P\t1390.7264\t2\t45707\t696.8719\t696.1250-698.8311\t0.0000\t_\t0.9786\n+P\t714.9386\t1\t196538\t715.9459\t714.9018-721.8224\t0.0000\t_\t0.9623\n+P\t732.8941\t1\t72029\t733.9014\t732.3036-737.4501\t0.0000\t_\t0.9951\n+P\t735.8965\t1\t38119\t736.9038\t735.8996-741.1964\t0.0000\t_\t0.9760\n+P\t741.1901\t1\t32553\t742.1974\t741.1964-745.7768\t0.0000\t_\t0.9820\n+P\t758.2171\t1\t118842\t759.2244\t758.2230-762.8554\t0.0000\t_\t0.9605\n+P\t760.2149\t1\t38202\t761.2223\t761.0226-766.3087\t0.0000\t_\t0.9803\n+P\t1620.8189\t2\t18902\t811.9179\t810.8910-814.9174\t0.0000\t_\t0.9606\n+P\t821.2024\t1\t26185\t822.2097\t821.2104-825.4993\t0.0000\t_\t0.9590\n+P\t821.9410\t1\t21949\t822.9483\t822.2097-828.9599\t0.0000\t_\t0.9835\n+P\t823.1252\t1\t27081\t824.1325\t823.9790-828.9599\t0.0000\t_\t0.9908\n+P\t832.2344\t1\t43257\t833.2417\t832.5599-837.0504\t0.0000\t_\t0.9618\n+P\t847.9021\t1\t25197\t848.9095\t848.4944-852.0504\t0.0000\t_\t0.9748\n+P\t848.9157\t1\t38656\t849.9230\t848.9095-856.1570\t0.0000\t_\t0.9873\n+P\t856.8596\t1\t10512\t859.8726\t856.7955-861.6983\t0.0000\t_\t0.9799\n+P\t892.2228\t1\t55772\t893.2301\t892.1624-896.6569\t0.0000\t_\t0.9566\n+P\t894.2214\t1\t36111\t895.2288\t894.2304-902.6804\t0.0000\t_\t0.9757\n+P\t965.8570\t1\t10966\t966.8643\t965.4972-970.2630\t0.0000\t_\t0.9586\n+P\t968.2439\t1\t12001\t969.2512\t968.2488-972.9549\t0.0000\t_\t0.9751\n+P\t1113.6804\t1\t20625\t1114.6878\t1109.3264-1119.8288\t0.0000\t_\t0.9997\n+P\t1200.5185\t1\t31204\t1201.5258\t1201.4148-1212.6403\t0.0000\t_\t0.9854\n+P\t1227.4237\t1\t40449\t1228.4310\t1225.6930-1232.6789\t0.0000\t_\t0.9706\n' |
b |
diff -r 000000000000 -r d796e6613d19 test-data/kronik_result.kr --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/kronik_result.kr Mon May 23 11:12:40 2016 -0400 |
b |
@@ -0,0 +1,14 @@ +First Scan Last Scan Num of Scans Charge Monoisotopic Mass Base Isotope Peak Best Intensity Summed Intensity First RTime Last RTime Best RTime Best Correlation Modifications +101 105 4 1 647.000900 648.008200 230778.000000 860284.000000 0.385700 0.404500 0.385700 0.974300 _ +101 105 4 1 609.178100 610.185400 197593.000000 712620.000000 0.385700 0.404500 0.404500 0.993100 _ +101 105 4 1 667.994300 669.001700 183122.000000 651082.000000 0.385700 0.404500 0.385700 0.952000 _ +101 105 4 1 683.197000 684.204300 177728.000000 628119.000000 0.385700 0.404500 0.391700 0.951200 _ +101 105 4 3 1109.920500 370.980800 148068.000000 487925.000000 0.385700 0.404500 0.385700 1.000000 _ +102 105 3 1 758.217100 759.224400 118842.000000 323534.000000 0.391700 0.404500 0.404500 0.960500 _ +101 105 4 1 685.195600 686.202900 89336.000000 289027.343750 0.385700 0.404500 0.404500 0.975400 _ +101 105 4 1 611.176300 612.183600 72749.000000 270190.000000 0.385700 0.404500 0.398500 0.999700 _ +101 105 4 1 619.878700 620.886000 72031.000000 218751.671875 0.385700 0.404500 0.404500 0.972600 _ +101 105 4 2 1390.722200 696.368400 69113.000000 236599.328125 0.385700 0.404500 0.398500 0.999700 _ +101 105 4 1 892.222800 893.230100 55772.000000 185033.000000 0.385700 0.404500 0.404500 0.956600 _ +101 104 3 1 820.199600 821.206900 39983.000000 101690.000000 0.385700 0.398500 0.385700 0.991900 _ +101 105 4 1 894.221400 895.228700 36689.000000 130505.000000 0.385700 0.404500 0.391700 0.980700 _ |
b |
diff -r 000000000000 -r d796e6613d19 test-data/ms1_spectra.mzml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/ms1_spectra.mzml Mon May 23 11:12:40 2016 -0400 |
b |
b'@@ -0,0 +1,278 @@\n+<?xml version="1.0" encoding="utf-8"?>\n+<indexedmzML xmlns="http://psi.hupo.org/ms/mzml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://psi.hupo.org/ms/mzml http://psidev.info/files/ms/mzML/xsd/mzML1.1.2_idx.xsd">\n+ <mzML xmlns="http://psi.hupo.org/ms/mzml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://psi.hupo.org/ms/mzml http://psidev.info/files/ms/mzML/xsd/mzML1.1.0.xsd" id="HJOS2U_20140410_TMTpool2_300ugIPG37-49_7of15ul_fr02" version="1.1.0">\n+ <cvList count="2">\n+ <cv id="MS" fullName="Proteomics Standards Initiative Mass Spectrometry Ontology" version="3.79.0" URI="http://psidev.cvs.sourceforge.net/*checkout*/psidev/psi/psi-ms/mzML/controlledVocabulary/psi-ms.obo"/>\n+ <cv id="UO" fullName="Unit Ontology" version="12:10:2011" URI="http://obo.cvs.sourceforge.net/*checkout*/obo/obo/ontology/phenotype/unit.obo"/>\n+ </cvList>\n+ <fileDescription>\n+ <fileContent>\n+ <cvParam cvRef="MS" accession="MS:1000579" name="MS1 spectrum" value=""/>\n+ <cvParam cvRef="MS" accession="MS:1000580" name="MSn spectrum" value=""/>\n+ </fileContent>\n+ <sourceFileList count="2">\n+ <sourceFile id="RAW1" name="HJOS2U_20140410_TMTpool2_300ugIPG37-49_7of15ul_fr02.raw" location="file:///C:\\rawdump">\n+ <cvParam cvRef="MS" accession="MS:1000768" name="Thermo nativeID format" value=""/>\n+ <cvParam cvRef="MS" accession="MS:1000563" name="Thermo RAW format" value=""/>\n+ <cvParam cvRef="MS" accession="MS:1000569" name="SHA-1" value="dc63b2928fb9b7c697993d249303296eb37e4806"/>\n+ </sourceFile>\n+ <sourceFile id="task_4_HJOS2U_20140410_TMTpool2_300ugIPG37-49_7of15ul_fr02.mzML" name="task_4_HJOS2U_20140410_TMTpool2_300ugIPG37-49_7of15ul_fr02.mzML" location="file:///">\n+ <cvParam cvRef="MS" accession="MS:1000569" name="SHA-1" value="d16b2380140377d0e3850fe4102ac2fe0c588c00"/>\n+ </sourceFile>\n+ </sourceFileList>\n+ </fileDescription>\n+ <referenceableParamGroupList count="1">\n+ <referenceableParamGroup id="CommonInstrumentParams">\n+ <cvParam cvRef="MS" accession="MS:1001911" name="Q Exactive" value=""/>\n+ <cvParam cvRef="MS" accession="MS:1000529" name="instrument serial number" value="Exactive Series slot #382"/>\n+ </referenceableParamGroup>\n+ </referenceableParamGroupList>\n+ <softwareList count="3">\n+ <software id="Xcalibur" version="2.3-176401/2.3.0.1765">\n+ <cvParam cvRef="MS" accession="MS:1000532" name="Xcalibur" value=""/>\n+ </software>\n+ <software id="pwiz" version="3.0.6002">\n+ <cvParam cvRef="MS" accession="MS:1000615" name="ProteoWizard software" value=""/>\n+ </software>\n+ <software id="pwiz_3.0.9095" version="3.0.9095">\n+ <cvParam cvRef="MS" accession="MS:1000615" name="ProteoWizard software" value=""/>\n+ </software>\n+ </softwareList>\n+ <instrumentConfigurationList count="1">\n+ <instrumentConfiguration id="IC1">\n+ <referenceableParamGroupRef ref="CommonInstrumentParams"/>\n+ <componentList count="4">\n+ <source order="1">\n+ <cvParam cvRef="MS" accession="MS:1000398" name="nanoelectrospray" value=""/>\n+ <cvParam cvRef="MS" accession="MS:1000485" name="nanospray inlet" value=""/>\n+ </source>\n+ <analyzer order="2">\n+ <cvParam cvRef="MS" accession="MS:1000081" name="quadrupole" value=""/>\n+ </analyzer>\n+ <analyzer order="3">\n+ <cvParam cvRef="MS" accession="MS:1000484" name="orbitrap" value=""/>\n+ </analyzer>\n+ <detector order="4">\n+ <cvParam cvRef="MS" accession="MS:1000624" name="inductive detector" value=""/>\n+ </detector>\n+ </componentList>\n+ <softwareRef ref="Xcalibur"/>\n+ </instrumentConfiguration>\n+ </instrumentConfigurationList>\n+ <dataProcessingList count="2">\n+ <dataProcessing id="pwiz_'..b'aLdpKO/vxShgYb0Y3HMZKN93PSsqKyEqf4qxKoq0wRo83xUqVJKFKzMGxSlzqlUoJW61Ki1amSsSMLkYGCZ9GElLFSifnnEoXNKFKUkuoSlQEf0YeYSRGRJlVRlJ3vEo+Hb5K+hufSnrpoUYAhapKNEeySv8asEo2JvxGwKzoSjm3y0oC5cJKSDLSSqr310q0T9RKaCDQSpM+8kpECf5K2LGRRq71BUspY+JKURUNSyN5/0rDgwFLBvwESwkJ9kpQvAZLGhAAS2ppSUaUPING5/H/SuYPC0u2cPlK60kQS/lQgUZU+DJGyOkJS369CEuDugNLC8oPS1NhD0vkQc1GbQ4iS83p60qETcNKyw4ES9fwAEsA24pGwbJ8RhcmDEuGsg1L0yMHSwqiE0uM1QZLfuT/SrO6jEYnPwlLVPYGSxRIw0bCvwhLEScWS+oZBkuZYQJLdE8RS+WbHEvoLBlLCFqlRrMcKEu+TilLHvsZS2nRIUvolyVLEs4LRk4FWEbP4IRGEgyQRnwNmkbOgj9L+b48S2MNQksqfLhGRI5fS2onSEtmxF1LGR+iRg9WWEtRanNLv16LRkhhfkuQVoFLpNkSRgvHjEs+OZJL+0GbS9oOkkuOz5dGgRKhS9xDqEsfeLhLutKxS9/eB0dCRqlGDHcPR9W/vkuZd71LxHmyS/pmwksi1r9LAYjMS4c3uUsE5LxLiqI6R1Rhv0vjScBLKEPWRtU0mEb1pdpGHOK9S0k57Uai7qhGqFG7S+ZGukuNG+1GPxu1S4VUuUvi0LZLhMKvS74TuEuwZbhLfteoSzplp0b6so5G3oKxS5Uas0u6mKxLT6CqS0OQrEvuivpGZ5yPRisNkUZqZa1LTsuqS+Zkq0u2A6lLUOHoRki2o0sSyKdLMFKhSxgMcEb0j/dG7CusS2LNmUvYVoxGCgKmS3u8oUvqMqZLoiecS7XcoUtj0NhG3JHB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0zG6w9HX6CcRi1S10auK6xM5zOsTA4+9UevEIVG48uARtoNMUfnw6tMWzqQRnp19UYr1bJHbFXUTKMIpUwdzQZHFzU7RwbBtkZIub1G</binary>\n+ </binaryDataArray>\n+ </binaryDataArrayList>\n+ </chromatogram>\n+ </chromatogramList>\n+ </run>\n+ </mzML>\n+ <indexList count="2">\n+ <index name="spectrum">\n+ <offset idRef="controllerType=0 controllerNumber=1 scan=101">5077</offset>\n+ <offset idRef="controllerType=0 controllerNumber=1 scan=102">204267</offset>\n+ <offset idRef="controllerType=0 controllerNumber=1 scan=104">483197</offset>\n+ <offset idRef="controllerType=0 controllerNumber=1 scan=105">692947</offset>\n+ </index>\n+ <index name="chromatogram">\n+ <offset idRef="TIC">954577</offset>\n+ </index>\n+ </indexList>\n+ <indexListOffset>1276672</indexListOffset>\n+ <fileChecksum>cbc3197e405d11b4e73e843f90a68ee749dfc88d</fileChecksum>\n+</indexedmzML>\n' |
b |
diff -r 000000000000 -r d796e6613d19 tool_dependencies.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool_dependencies.xml Mon May 23 11:12:40 2016 -0400 |
b |
@@ -0,0 +1,9 @@ +<?xml version="1.0"?> +<tool_dependency> + <package name="hardklor" version="2.30"> + <repository changeset_revision="e25ed64d962b" name="package_hardklor_2_30" owner="galaxyp" toolshed="https://toolshed.g2.bx.psu.edu" /> + </package> + <package name="kronik" version="2.02"> + <repository changeset_revision="797b81fd9054" name="package_kronik_2_02" owner="galaxyp" toolshed="https://toolshed.g2.bx.psu.edu" /> + </package> +</tool_dependency> |