Mercurial > repos > iuc > nanocompore_db
annotate nanocompore_db.xml @ 2:ca9e70c0fef8 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit c2985b5c91a932e175cbfaf9b54a76e23beff9e9"
author | iuc |
---|---|
date | Thu, 09 Jul 2020 02:39:10 -0400 |
parents | 2af554112418 |
children | 35d3618b124b |
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> |
b6eeea872fd2
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff
changeset
|
3 <macros> |
b6eeea872fd2
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff
changeset
|
4 <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
|
5 </macros> |
b6eeea872fd2
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff
changeset
|
6 <expand macro="requirements"/> |
b6eeea872fd2
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff
changeset
|
7 <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
|
8 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
|
9 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
|
10 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
|
11 --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
|
12 --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
|
13 --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
|
14 --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
|
15 --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
|
16 --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
|
17 $bedgraph |
2
ca9e70c0fef8
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit c2985b5c91a932e175cbfaf9b54a76e23beff9e9"
iuc
parents:
1
diff
changeset
|
18 |
0
b6eeea872fd2
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff
changeset
|
19 ]]></command> |
b6eeea872fd2
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff
changeset
|
20 <inputs> |
b6eeea872fd2
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff
changeset
|
21 <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
|
22 <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
|
23 <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
|
24 <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
|
25 <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
|
26 </param> |
ca9e70c0fef8
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit c2985b5c91a932e175cbfaf9b54a76e23beff9e9"
iuc
parents:
1
diff
changeset
|
27 <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
|
28 <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
|
29 </inputs> |
b6eeea872fd2
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff
changeset
|
30 <outputs> |
2
ca9e70c0fef8
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit c2985b5c91a932e175cbfaf9b54a76e23beff9e9"
iuc
parents:
1
diff
changeset
|
31 <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
|
32 <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
|
33 </collection> |
0
b6eeea872fd2
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff
changeset
|
34 </outputs> |
b6eeea872fd2
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff
changeset
|
35 <tests> |
b6eeea872fd2
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff
changeset
|
36 <test> |
b6eeea872fd2
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff
changeset
|
37 <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
|
38 <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
|
39 <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
|
40 <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
|
41 <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
|
42 <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
|
43 <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
|
44 </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
|
45 </test> |
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 <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
|
48 <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
|
49 <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
|
50 <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
|
51 <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
|
52 <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
|
53 <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
|
54 <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
|
55 </output_collection> |
ca9e70c0fef8
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit c2985b5c91a932e175cbfaf9b54a76e23beff9e9"
iuc
parents:
1
diff
changeset
|
56 </test> |
0
b6eeea872fd2
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff
changeset
|
57 </tests> |
b6eeea872fd2
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff
changeset
|
58 <help><![CDATA[ |
b6eeea872fd2
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff
changeset
|
59 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
|
60 |
b6eeea872fd2
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff
changeset
|
61 **References** |
b6eeea872fd2
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff
changeset
|
62 |
b6eeea872fd2
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff
changeset
|
63 @REFERENCES@ |
b6eeea872fd2
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff
changeset
|
64 ]]></help> |
b6eeea872fd2
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff
changeset
|
65 <expand macro="citations"/> |
b6eeea872fd2
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff
changeset
|
66 </tool> |