Mercurial > repos > iuc > nanocompore_db
annotate nanocompore_db.xml @ 2:d193d0e411bd draft default tip
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
| author | iuc |
|---|---|
| date | Wed, 01 Sep 2021 07:47:15 +0000 |
| parents | 97a6b3f9a98d |
| children |
| rev | line source |
|---|---|
|
2
d193d0e411bd
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
iuc
parents:
1
diff
changeset
|
1 <tool id="nanocompore_db" name="NanoComporeDB" version="@TOOL_VERSION@+galaxy2"> |
|
0
ace1c453a190
"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> |
|
2
d193d0e411bd
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
iuc
parents:
1
diff
changeset
|
3 <expand macro="bio_tools"/> |
|
0
ace1c453a190
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff
changeset
|
4 <macros> |
|
ace1c453a190
"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> |
|
ace1c453a190
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff
changeset
|
6 </macros> |
|
ace1c453a190
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff
changeset
|
7 <expand macro="requirements"/> |
|
ace1c453a190
"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
d193d0e411bd
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
iuc
parents:
1
diff
changeset
|
9 mkdir -p results plots && |
|
d193d0e411bd
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
iuc
parents:
1
diff
changeset
|
10 tar -xf '$db' --strip-components 1 -C results/ && |
|
1
97a6b3f9a98d
"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' |
|
97a6b3f9a98d
"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' |
|
97a6b3f9a98d
"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
ace1c453a190
"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
d193d0e411bd
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
iuc
parents:
1
diff
changeset
|
15 --pvalue-types '$pvalue_types' |
|
d193d0e411bd
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
iuc
parents:
1
diff
changeset
|
16 --pvalue-threshold $pvalue_threshold |
|
d193d0e411bd
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
iuc
parents:
1
diff
changeset
|
17 --out-dir ./plots/ |
|
1
97a6b3f9a98d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit a57b5b935a80db12a0ed867b4219453a2854dd32"
iuc
parents:
0
diff
changeset
|
18 $bedgraph |
|
2
d193d0e411bd
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
iuc
parents:
1
diff
changeset
|
19 |
|
0
ace1c453a190
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff
changeset
|
20 ]]></command> |
|
ace1c453a190
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff
changeset
|
21 <inputs> |
|
ace1c453a190
"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."/> |
|
ace1c453a190
"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"/> |
|
ace1c453a190
"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
d193d0e411bd
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
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."> |
|
d193d0e411bd
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
iuc
parents:
1
diff
changeset
|
26 <validator type="regex" message="No valid pvalue field name list.">^(\w+(,\w+)*)?$</validator> |
|
d193d0e411bd
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
iuc
parents:
1
diff
changeset
|
27 </param> |
|
d193d0e411bd
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
iuc
parents:
1
diff
changeset
|
28 <param argument="pvalue-threshold" type="float" value="1.0" min="0.0" label="Maximum reported p-value"/> |
|
d193d0e411bd
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
iuc
parents:
1
diff
changeset
|
29 <param argument="--bedgraph" type="boolean" truevalue="--bedgraph" falsevalue="" label="Write output in BedGraph format instead of BED"/> |
|
0
ace1c453a190
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff
changeset
|
30 </inputs> |
|
ace1c453a190
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff
changeset
|
31 <outputs> |
|
2
d193d0e411bd
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
iuc
parents:
1
diff
changeset
|
32 <collection name="pvalue_output" type="list"> |
|
d193d0e411bd
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
iuc
parents:
1
diff
changeset
|
33 <discover_datasets pattern="__name_and_ext__" directory="plots" /> |
|
d193d0e411bd
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
iuc
parents:
1
diff
changeset
|
34 </collection> |
|
0
ace1c453a190
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff
changeset
|
35 </outputs> |
|
ace1c453a190
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff
changeset
|
36 <tests> |
|
ace1c453a190
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff
changeset
|
37 <test> |
|
ace1c453a190
"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"/> |
|
ace1c453a190
"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
d193d0e411bd
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
iuc
parents:
1
diff
changeset
|
40 <param name="db" value="DB.tar" ftype="tar" /> |
|
d193d0e411bd
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
iuc
parents:
1
diff
changeset
|
41 <output_collection name="pvalue_output" type="list" count="3"> |
|
d193d0e411bd
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
iuc
parents:
1
diff
changeset
|
42 <element name="GMM_logit_pvalue" file="GMM_logit_pvalue.bed" ftype="bed"/> |
|
d193d0e411bd
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
iuc
parents:
1
diff
changeset
|
43 <element name="KS_dwell_pvalue" file="KS_dwell_pvalue.bed" ftype="bed"/> |
|
d193d0e411bd
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
iuc
parents:
1
diff
changeset
|
44 <element name="KS_intensity_pvalue" file="KS_intensity_pvalue.bed" ftype="bed"/> |
|
d193d0e411bd
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
iuc
parents:
1
diff
changeset
|
45 </output_collection> |
|
1
97a6b3f9a98d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit a57b5b935a80db12a0ed867b4219453a2854dd32"
iuc
parents:
0
diff
changeset
|
46 </test> |
|
97a6b3f9a98d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit a57b5b935a80db12a0ed867b4219453a2854dd32"
iuc
parents:
0
diff
changeset
|
47 <test> |
|
97a6b3f9a98d
"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"/> |
|
97a6b3f9a98d
"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
d193d0e411bd
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
iuc
parents:
1
diff
changeset
|
50 <param name="db" value="DB.tar" ftype="tar" /> |
|
d193d0e411bd
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
iuc
parents:
1
diff
changeset
|
51 <param name="bedgraph" value="true"/> |
|
d193d0e411bd
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
iuc
parents:
1
diff
changeset
|
52 <param name="pvalue_types" value="GMM_logit_pvalue,KS_dwell_pvalue"/> |
|
d193d0e411bd
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
iuc
parents:
1
diff
changeset
|
53 <output_collection name="pvalue_output" type="list" count="2"> |
|
d193d0e411bd
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
iuc
parents:
1
diff
changeset
|
54 <element name="GMM_logit_pvalue" file="GMM_logit_pvalue.bedgraph" ftype="bedgraph"/> |
|
d193d0e411bd
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
iuc
parents:
1
diff
changeset
|
55 <element name="KS_dwell_pvalue" file="KS_dwell_pvalue.bedgraph" ftype="bedgraph"/> |
|
d193d0e411bd
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
iuc
parents:
1
diff
changeset
|
56 </output_collection> |
|
d193d0e411bd
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
iuc
parents:
1
diff
changeset
|
57 </test> |
|
0
ace1c453a190
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff
changeset
|
58 </tests> |
|
ace1c453a190
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff
changeset
|
59 <help><![CDATA[ |
|
ace1c453a190
"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. |
|
ace1c453a190
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff
changeset
|
61 |
|
ace1c453a190
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff
changeset
|
62 **References** |
|
ace1c453a190
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff
changeset
|
63 |
|
ace1c453a190
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff
changeset
|
64 @REFERENCES@ |
|
ace1c453a190
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff
changeset
|
65 ]]></help> |
|
ace1c453a190
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff
changeset
|
66 <expand macro="citations"/> |
|
ace1c453a190
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 652a872061324ba1073bfa286777ffeefa352671"
iuc
parents:
diff
changeset
|
67 </tool> |
