Repository 'pyprophet_merge'
hg clone https://toolshed.g2.bx.psu.edu/repos/galaxyp/pyprophet_merge

Changeset 0:73736112135d (2020-02-26)
Next changeset 1:3496653f2ec6 (2020-04-02)
Commit message:
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/pyprophet commit a83d231286a8df67483df46e76b4b3a2ef90b251"
added:
macros.xml
pyprophet_merge.xml
test-data/merged.osw
test-data/open_swath_output1.osw
test-data/open_swath_output2.osw
test-data/output.tabular
test-data/patient_specific_OSW_optimized_decoys.pqp
test-data/peptide1.osw
test-data/peptide1.pdf
test-data/peptide2.osw
test-data/peptide2.pdf
test-data/protein1.osw
test-data/protein1.pdf
test-data/protein2.osw
test-data/protein2.pdf
test-data/score.osw
test-data/score_plots.pdf
test-data/score_report.pdf
test-data/study_design.tabular
test-data/subsample.tabular
test-data/test_data.osw
b
diff -r 000000000000 -r 73736112135d macros.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/macros.xml Wed Feb 26 04:16:39 2020 -0500
b
@@ -0,0 +1,23 @@
+<macros>
+    <token name="@VERSION@">2.1.4</token>
+
+    <xml name="requirements">
+    <requirements>
+        <requirement type="package" version="2.1.4">pyprophet</requirement>
+        <yield/>
+    </requirements>
+    </xml>
+
+    <xml name="citations">
+    <citations>
+        <citation type="doi">10.1038/nmeth.4398</citation>
+        <citation type="doi">10.1038/nbt.3908</citation>
+        <citation type="doi">10.1093/bioinformatics/btu686</citation>
+        <citation type="doi">10.1038/nmeth.1584</citation>
+        <yield/>
+    </citations>
+    </xml>
+
+    <token name="@link@">http://openswath.org/en/latest/docs/pyprophet.html</token>
+
+</macros>
b
diff -r 000000000000 -r 73736112135d pyprophet_merge.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/pyprophet_merge.xml Wed Feb 26 04:16:39 2020 -0500
[
@@ -0,0 +1,51 @@
+<tool id="pyprophet_merge" name="PyProphet merge" version="@VERSION@.0">
+    <description>
+    Merge multiple osw files
+    </description>
+    <macros>
+        <import>macros.xml</import>
+    </macros>
+    <expand macro="requirements"/>
+    <command detect_errors="aggressive">
+    <![CDATA[
+        pyprophet merge
+        --template='$template'
+        $same_run
+        --out='./output.osw'
+
+        #echo ' '.join(["'%s'" % $input for $input in $inputs])#
+    ]]>
+    </command>
+    <inputs>
+        <param name="inputs" type="data" format="osw" multiple="true" label="Input file" help="This file needs to be in OSW format, an SQLite variant." />
+        <param argument="--template" type="data" format="sqlite" label="Template osw file" />
+        <param name="same_run" type="boolean" truevalue="--same_run" falsevalue="--no-same_run"
+            label="Input files are from same run (deletes run information)" help="(--same_run/--no-same_run)"/>
+    </inputs>
+    <outputs>
+        <data name="output" format="osw" label="${tool.name} on ${on_string}: merged.osw" from_work_dir="output.osw" />
+    </outputs>
+    <tests>
+        <test>
+            <param name="inputs" value="open_swath_output1.osw,open_swath_output2.osw" ftype="osw"/>
+            <param name="template_file" ftype="pqp" value="patient_specific_OSW_optimized_decoys.pqp"/>
+            <param name="same_run" value="False"/>
+            <output name="output" file="merged.osw" compare="sim_size" />
+        </test>
+    </tests>
+    <help>
+<![CDATA[
+**What it does**
+
+PyProphet: Semi-supervised learning and scoring of OpenSWATH results.
+
+Merge function of PyProphet: Takes several osw input files and merges them. For large experiments, it is recommended to subsample first.
+
+PyProphet is a Python re-implementation of the mProphet algorithm (Reiter 2010 Nature Methods) optimized for SWATH-MS data acquired by data-independent acquisition (DIA). The algorithm was originally published in (Telemann 2014 Bioinformatics) and has since been extended to support new data types and analysis modes (Rosenberger 2017, Nature biotechnology and Nature methods).
+
+For more information, visit @link@
+
+]]>
+    </help>
+    <expand macro="citations"/>
+</tool>
b
diff -r 000000000000 -r 73736112135d test-data/merged.osw
b
Binary file test-data/merged.osw has changed
b
diff -r 000000000000 -r 73736112135d test-data/open_swath_output1.osw
b
Binary file test-data/open_swath_output1.osw has changed
b
diff -r 000000000000 -r 73736112135d test-data/open_swath_output2.osw
b
Binary file test-data/open_swath_output2.osw has changed
b
diff -r 000000000000 -r 73736112135d test-data/output.tabular
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/output.tabular Wed Feb 26 04:16:39 2020 -0500
b
@@ -0,0 +1,1 @@
+transition_group_id decoy run_id filename RT assay_rt delta_rt iRT assay_iRT delta_iRT Sequence FullPeptideName Charge mz Intensity aggr_prec_Peak_Area aggr_prec_Peak_Apex leftWidth rightWidth peak_group_rank d_score m_score id aggr_Peak_Area aggr_Peak_Apex aggr_Fragment_Annotation ProteinName m_score_peptide_experiment_wide m_score_peptide_global m_score_protein_experiment_wide m_score_protein_global
b
diff -r 000000000000 -r 73736112135d test-data/patient_specific_OSW_optimized_decoys.pqp
b
Binary file test-data/patient_specific_OSW_optimized_decoys.pqp has changed
b
diff -r 000000000000 -r 73736112135d test-data/peptide1.osw
b
Binary file test-data/peptide1.osw has changed
b
diff -r 000000000000 -r 73736112135d test-data/peptide1.pdf
b
Binary file test-data/peptide1.pdf has changed
b
diff -r 000000000000 -r 73736112135d test-data/peptide2.osw
b
Binary file test-data/peptide2.osw has changed
b
diff -r 000000000000 -r 73736112135d test-data/peptide2.pdf
b
Binary file test-data/peptide2.pdf has changed
b
diff -r 000000000000 -r 73736112135d test-data/protein1.osw
b
Binary file test-data/protein1.osw has changed
b
diff -r 000000000000 -r 73736112135d test-data/protein1.pdf
b
Binary file test-data/protein1.pdf has changed
b
diff -r 000000000000 -r 73736112135d test-data/protein2.osw
b
Binary file test-data/protein2.osw has changed
b
diff -r 000000000000 -r 73736112135d test-data/protein2.pdf
b
Binary file test-data/protein2.pdf has changed
b
diff -r 000000000000 -r 73736112135d test-data/score.osw
b
Binary file test-data/score.osw has changed
b
diff -r 000000000000 -r 73736112135d test-data/score_plots.pdf
b
Binary file test-data/score_plots.pdf has changed
b
diff -r 000000000000 -r 73736112135d test-data/score_report.pdf
b
Binary file test-data/score_report.pdf has changed
b
diff -r 000000000000 -r 73736112135d test-data/study_design.tabular
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/study_design.tabular Wed Feb 26 04:16:39 2020 -0500
b
@@ -0,0 +1,3 @@
+Filename Condition BioReplicate Run
+./TN22.mzML late 1 1
+./TN23.mzML early 2 2
b
diff -r 000000000000 -r 73736112135d test-data/subsample.tabular
b
Binary file test-data/subsample.tabular has changed
b
diff -r 000000000000 -r 73736112135d test-data/test_data.osw
b
Binary file test-data/test_data.osw has changed