annotate nanocompore_db.xml @ 3:35d3618b124b draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 51078f4c0eab9cc41a0cb2190000e428322631a4
author iuc
date Thu, 23 Jun 2022 17:29:02 +0000
parents ca9e70c0fef8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
ca9e70c0fef8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit c2985b5c91a932e175cbfaf9b54a76e23beff9e9"
iuc
parents: 1
diff changeset
1 <tool id="nanocompore_db" name="NanoComporeDB" version="@TOOL_VERSION@+galaxy2">
0
b6eeea872fd2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff changeset
2 <description>Process SampComp results database</description>
3
35d3618b124b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 51078f4c0eab9cc41a0cb2190000e428322631a4
iuc
parents: 2
diff changeset
3 <expand macro="bio_tools"/>
0
b6eeea872fd2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff changeset
4 <macros>
b6eeea872fd2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff changeset
5 <import>macros.xml</import>
b6eeea872fd2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff changeset
6 </macros>
b6eeea872fd2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff changeset
7 <expand macro="requirements"/>
b6eeea872fd2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
2
ca9e70c0fef8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit c2985b5c91a932e175cbfaf9b54a76e23beff9e9"
iuc
parents: 1
diff changeset
9 mkdir -p results plots &&
ca9e70c0fef8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit c2985b5c91a932e175cbfaf9b54a76e23beff9e9"
iuc
parents: 1
diff changeset
10 tar -xf '$db' --strip-components 1 -C results/ &&
1
2af554112418 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit a57b5b935a80db12a0ed867b4219453a2854dd32"
iuc
parents: 0
diff changeset
11 python '$__tool_directory__/NanocomporeDB_process.py'
2af554112418 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit a57b5b935a80db12a0ed867b4219453a2854dd32"
iuc
parents: 0
diff changeset
12 --db-path 'results/out_SampComp.db'
2af554112418 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit a57b5b935a80db12a0ed867b4219453a2854dd32"
iuc
parents: 0
diff changeset
13 --ref-fasta '$reference'
0
b6eeea872fd2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff changeset
14 --annotation-bed '$annotation'
2
ca9e70c0fef8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit c2985b5c91a932e175cbfaf9b54a76e23beff9e9"
iuc
parents: 1
diff changeset
15 --pvalue-types '$pvalue_types'
ca9e70c0fef8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit c2985b5c91a932e175cbfaf9b54a76e23beff9e9"
iuc
parents: 1
diff changeset
16 --pvalue-threshold $pvalue_threshold
ca9e70c0fef8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit c2985b5c91a932e175cbfaf9b54a76e23beff9e9"
iuc
parents: 1
diff changeset
17 --out-dir ./plots/
1
2af554112418 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit a57b5b935a80db12a0ed867b4219453a2854dd32"
iuc
parents: 0
diff changeset
18 $bedgraph
2
ca9e70c0fef8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit c2985b5c91a932e175cbfaf9b54a76e23beff9e9"
iuc
parents: 1
diff changeset
19
0
b6eeea872fd2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff changeset
20 ]]></command>
b6eeea872fd2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff changeset
21 <inputs>
b6eeea872fd2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff changeset
22 <param name="reference" type="data" format="fasta" label="The reference genome used for read alignment."/>
b6eeea872fd2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff changeset
23 <param name="annotation" format="bed" type="data" label="BED file containing the annotation of the transcriptome used as reference when mapping"/>
b6eeea872fd2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff changeset
24 <param name="db" type="data" format="tar" label="SampComp Database" />
2
ca9e70c0fef8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit c2985b5c91a932e175cbfaf9b54a76e23beff9e9"
iuc
parents: 1
diff changeset
25 <param argument="--pvalue-types" type="text" value="GMM_logit_pvalue,KS_dwell_pvalue,KS_intensity_pvalue" label="pvalue field names" help="Comma-separated values.">
ca9e70c0fef8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit c2985b5c91a932e175cbfaf9b54a76e23beff9e9"
iuc
parents: 1
diff changeset
26 <validator type="regex" message="No valid pvalue field name list.">^(\w+(,\w+)*)?$</validator>
ca9e70c0fef8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit c2985b5c91a932e175cbfaf9b54a76e23beff9e9"
iuc
parents: 1
diff changeset
27 </param>
ca9e70c0fef8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit c2985b5c91a932e175cbfaf9b54a76e23beff9e9"
iuc
parents: 1
diff changeset
28 <param argument="pvalue-threshold" type="float" value="1.0" min="0.0" label="Maximum reported p-value"/>
ca9e70c0fef8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit c2985b5c91a932e175cbfaf9b54a76e23beff9e9"
iuc
parents: 1
diff changeset
29 <param argument="--bedgraph" type="boolean" truevalue="--bedgraph" falsevalue="" label="Write output in BedGraph format instead of BED"/>
0
b6eeea872fd2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff changeset
30 </inputs>
b6eeea872fd2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff changeset
31 <outputs>
2
ca9e70c0fef8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit c2985b5c91a932e175cbfaf9b54a76e23beff9e9"
iuc
parents: 1
diff changeset
32 <collection name="pvalue_output" type="list">
ca9e70c0fef8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit c2985b5c91a932e175cbfaf9b54a76e23beff9e9"
iuc
parents: 1
diff changeset
33 <discover_datasets pattern="__name_and_ext__" directory="plots" />
ca9e70c0fef8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit c2985b5c91a932e175cbfaf9b54a76e23beff9e9"
iuc
parents: 1
diff changeset
34 </collection>
0
b6eeea872fd2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff changeset
35 </outputs>
b6eeea872fd2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff changeset
36 <tests>
b6eeea872fd2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff changeset
37 <test>
b6eeea872fd2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff changeset
38 <param name="reference" value="reference.fa"/>
b6eeea872fd2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff changeset
39 <param name="annotation" value="annot.bed"/>
2
ca9e70c0fef8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit c2985b5c91a932e175cbfaf9b54a76e23beff9e9"
iuc
parents: 1
diff changeset
40 <param name="db" value="DB.tar" ftype="tar" />
ca9e70c0fef8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit c2985b5c91a932e175cbfaf9b54a76e23beff9e9"
iuc
parents: 1
diff changeset
41 <output_collection name="pvalue_output" type="list" count="3">
ca9e70c0fef8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit c2985b5c91a932e175cbfaf9b54a76e23beff9e9"
iuc
parents: 1
diff changeset
42 <element name="GMM_logit_pvalue" file="GMM_logit_pvalue.bed" ftype="bed"/>
ca9e70c0fef8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit c2985b5c91a932e175cbfaf9b54a76e23beff9e9"
iuc
parents: 1
diff changeset
43 <element name="KS_dwell_pvalue" file="KS_dwell_pvalue.bed" ftype="bed"/>
ca9e70c0fef8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit c2985b5c91a932e175cbfaf9b54a76e23beff9e9"
iuc
parents: 1
diff changeset
44 <element name="KS_intensity_pvalue" file="KS_intensity_pvalue.bed" ftype="bed"/>
ca9e70c0fef8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit c2985b5c91a932e175cbfaf9b54a76e23beff9e9"
iuc
parents: 1
diff changeset
45 </output_collection>
1
2af554112418 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit a57b5b935a80db12a0ed867b4219453a2854dd32"
iuc
parents: 0
diff changeset
46 </test>
2af554112418 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit a57b5b935a80db12a0ed867b4219453a2854dd32"
iuc
parents: 0
diff changeset
47 <test>
2af554112418 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit a57b5b935a80db12a0ed867b4219453a2854dd32"
iuc
parents: 0
diff changeset
48 <param name="reference" value="reference.fa"/>
2af554112418 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit a57b5b935a80db12a0ed867b4219453a2854dd32"
iuc
parents: 0
diff changeset
49 <param name="annotation" value="annot.bed"/>
2
ca9e70c0fef8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit c2985b5c91a932e175cbfaf9b54a76e23beff9e9"
iuc
parents: 1
diff changeset
50 <param name="db" value="DB.tar" ftype="tar" />
ca9e70c0fef8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit c2985b5c91a932e175cbfaf9b54a76e23beff9e9"
iuc
parents: 1
diff changeset
51 <param name="bedgraph" value="true"/>
ca9e70c0fef8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit c2985b5c91a932e175cbfaf9b54a76e23beff9e9"
iuc
parents: 1
diff changeset
52 <param name="pvalue_types" value="GMM_logit_pvalue,KS_dwell_pvalue"/>
ca9e70c0fef8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit c2985b5c91a932e175cbfaf9b54a76e23beff9e9"
iuc
parents: 1
diff changeset
53 <output_collection name="pvalue_output" type="list" count="2">
ca9e70c0fef8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit c2985b5c91a932e175cbfaf9b54a76e23beff9e9"
iuc
parents: 1
diff changeset
54 <element name="GMM_logit_pvalue" file="GMM_logit_pvalue.bedgraph" ftype="bedgraph"/>
ca9e70c0fef8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit c2985b5c91a932e175cbfaf9b54a76e23beff9e9"
iuc
parents: 1
diff changeset
55 <element name="KS_dwell_pvalue" file="KS_dwell_pvalue.bedgraph" ftype="bedgraph"/>
ca9e70c0fef8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit c2985b5c91a932e175cbfaf9b54a76e23beff9e9"
iuc
parents: 1
diff changeset
56 </output_collection>
ca9e70c0fef8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit c2985b5c91a932e175cbfaf9b54a76e23beff9e9"
iuc
parents: 1
diff changeset
57 </test>
0
b6eeea872fd2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff changeset
58 </tests>
b6eeea872fd2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff changeset
59 <help><![CDATA[
b6eeea872fd2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff changeset
60 Produces interval bed and bedgraph outputs from NanoCompore SampComp results as input using NaonComporeDB API.
b6eeea872fd2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff changeset
61
b6eeea872fd2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff changeset
62 **References**
b6eeea872fd2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff changeset
63
b6eeea872fd2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff changeset
64 @REFERENCES@
b6eeea872fd2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff changeset
65 ]]></help>
b6eeea872fd2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff changeset
66 <expand macro="citations"/>
b6eeea872fd2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff changeset
67 </tool>