Mercurial > repos > iuc > nanopolishcomp_eventaligncollapse
annotate eventaligncollapse.xml @ 1:ad011fc670d6 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit cc7e6263fdb9e59f992aee41fc9d62425f39bf38"
author | iuc |
---|---|
date | Tue, 12 May 2020 17:08:45 -0400 |
parents | 6847a625db4d |
children | 74d7b06c2b92 |
rev | line source |
---|---|
0
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
1 <?xml version="1.0"?> |
1
ad011fc670d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit cc7e6263fdb9e59f992aee41fc9d62425f39bf38"
iuc
parents:
0
diff
changeset
|
2 <tool id="nanopolishcomp_eventaligncollapse" name="NanopolishComp: EventalignCollapse" version="@TOOL_VERSION@+@WRAPPER_VERSION@"> |
0
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
3 <description>by kmers rather than by event</description> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
4 <macros> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
5 <import>macros.xml</import> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
6 </macros> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
7 <expand macro="requirements"/> |
1
ad011fc670d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit cc7e6263fdb9e59f992aee41fc9d62425f39bf38"
iuc
parents:
0
diff
changeset
|
8 <expand macro="version_command"/> |
0
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
9 <command detect_errors="exit_code"><![CDATA[ |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
10 ## initialize |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
11 ## requires a minimum of 3 threads |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
12 threads=\$((3 > \${GALAXY_SLOTS:-3} ? 3 : \${GALAXY_SLOTS:-3})) && |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
13 |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
14 ## run |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
15 NanopolishComp |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
16 Eventalign_collapse |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
17 -i '$i' |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
18 -s |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
19 -r $r |
1
ad011fc670d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit cc7e6263fdb9e59f992aee41fc9d62425f39bf38"
iuc
parents:
0
diff
changeset
|
20 -f |
0
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
21 #for $current in $f |
1
ad011fc670d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit cc7e6263fdb9e59f992aee41fc9d62425f39bf38"
iuc
parents:
0
diff
changeset
|
22 $current |
0
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
23 #end for |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
24 -o 'results' |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
25 -p 'out' |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
26 -t \$threads |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
27 -v |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
28 ]]></command> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
29 <inputs> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
30 <param argument="-i" type="data" format="tabular" label="Select nanopolish eventalign file"/> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
31 <param argument="-s" type="boolean" truevalue="-s" falsevalue="" label="Should raw samples be written?" help="You need to run nanopolish eventalign with --sample option to make use of this feature."/> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
32 <param argument="-r" type="integer" value="0" min="0" label="Set maximum number of reads to parse" help="Use 0 to deactivate this option."/> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
33 <param argument="-f" type="select" multiple="true" label="Select statistical fields to compute" help="You need to run nanopolish eventalign with --sample option to make use of this feature."> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
34 <option value="mean" selected="true">Mean</option> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
35 <option value="std">Std</option> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
36 <option value="median" selected="true">Median</option> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
37 <option value="mad">Mad</option> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
38 <option value="num_signals" selected="true">Number of signals</option> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
39 </param> |
1
ad011fc670d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit cc7e6263fdb9e59f992aee41fc9d62425f39bf38"
iuc
parents:
0
diff
changeset
|
40 <param name="out" type="select" multiple="true" label="Select output file(s)"> |
0
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
41 <option value="eventalign_collapse" selected="true">Eventalign Collapse</option> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
42 <option value="index" selected="true">Index</option> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
43 <option value="log">Log</option> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
44 </param> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
45 </inputs> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
46 <outputs> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
47 <data name="out_eventalign_collapse" format="tabular" from_work_dir="results/out_eventalign_collapse.tsv" label="${tool.name} on ${on_string}: Eventalign Collapse"> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
48 <filter>'eventalign_collapse' in out</filter> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
49 </data> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
50 <data name="out_index" format="tabular" from_work_dir="results/out_eventalign_collapse.tsv.idx" label="${tool.name} on ${on_string}: Index"> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
51 <filter>'index' in out</filter> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
52 </data> |
1
ad011fc670d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit cc7e6263fdb9e59f992aee41fc9d62425f39bf38"
iuc
parents:
0
diff
changeset
|
53 <data name="out_log" format="txt" from_work_dir="results/out_eventalign_collapse.log" label="${tool.name} on ${on_string}: Log"> |
0
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
54 <filter>'log' in out</filter> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
55 </data> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
56 </outputs> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
57 <tests> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
58 <!-- #1 default --> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
59 <test expect_num_outputs="3"> |
1
ad011fc670d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit cc7e6263fdb9e59f992aee41fc9d62425f39bf38"
iuc
parents:
0
diff
changeset
|
60 <param name="i" value="sample_event.tsv"/> |
0
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
61 <param name="out" value="eventalign_collapse,index,log"/> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
62 <output name="out_eventalign_collapse"> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
63 <assert_contents> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
64 <has_n_lines n="236"/> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
65 <has_text_matching expression="ref_pos	ref_kmer"/> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
66 <has_text_matching expression="22102	GGAAA"/> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
67 </assert_contents> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
68 </output> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
69 <output name="out_index"> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
70 <assert_contents> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
71 <has_n_lines n="60"/> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
72 <has_text_matching expression="ref_id	ref_start"/> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
73 <has_text_matching expression="chr	22102"/> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
74 </assert_contents> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
75 </output> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
76 <output name="out_log"> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
77 <assert_contents> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
78 <has_n_lines n="13"/> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
79 <has_line line="General options:"/> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
80 </assert_contents> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
81 </output> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
82 </test> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
83 <!-- #2 --> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
84 <test expect_num_outputs="2"> |
1
ad011fc670d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit cc7e6263fdb9e59f992aee41fc9d62425f39bf38"
iuc
parents:
0
diff
changeset
|
85 <param name="i" value="sample_event.tsv"/> |
0
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
86 <param name="s" value="true"/> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
87 <param name="r" value="10"/> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
88 <param name="f" value="mean,std,median,mad,num_signals"/> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
89 <param name="out" value="eventalign_collapse,index"/> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
90 <output name="out_eventalign_collapse"> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
91 <assert_contents> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
92 <has_n_lines n="236"/> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
93 <has_text_matching expression="ref_pos	ref_kmer"/> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
94 <has_text_matching expression="22102	GGAAA"/> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
95 </assert_contents> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
96 </output> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
97 <output name="out_index"> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
98 <assert_contents> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
99 <has_n_lines n="60"/> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
100 <has_text_matching expression="ref_id	ref_start"/> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
101 <has_text_matching expression="chr	22102"/> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
102 </assert_contents> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
103 </output> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
104 </test> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
105 </tests> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
106 <help><![CDATA[ |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
107 .. class:: infomark |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
108 |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
109 **What it does** |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
110 |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
111 @WID@ |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
112 |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
113 Eventalign_collapse collapses the raw file generated by nanopolish eventalign by kmers rather than by event. |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
114 |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
115 **Input** |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
116 |
1
ad011fc670d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit cc7e6263fdb9e59f992aee41fc9d62425f39bf38"
iuc
parents:
0
diff
changeset
|
117 A nanopolish eventalign tabular output file. |
0
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
118 |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
119 **Output** |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
120 |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
121 Contrary to nanopolish eventalign output text file, in Eventalign_collapse the reads are separated by a hashtag headers containing the read_id and ref_id. This reduces the redundancy and makes it easier to find the start and end of a read. |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
122 |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
123 :: |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
124 |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
125 Example : #7ef1d7b9-5824-4382-b23b-78d82c07ebbd YHR055C. |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
126 |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
127 The main data file contains the following fields: |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
128 |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
129 - ref_pos: Reference sequence ID (contig). |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
130 - ref_kmer: Sequence of the reference kmers. |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
131 - -num_events: Number of events for this kmer before collapsing. |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
132 - dwell_time: dwell time for this kmer in seconds |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
133 - NNNNN_dwell_time: dwell time of events for this kmers with a model sequence "NNNNN" (events ignored by nanopolish HMM). |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
134 - mismatch_dwell_time: dwell time of events for this kmers with a model sequence different from the reference kmer |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
135 - start_idx: Only if nanopolish eventalign called with --signal_idx. Start coordinate on original raw signal in fast5 file |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
136 - end_idx: Only if nanopolish eventalign called with --signal_idx. End coordinate on original raw signal in fast5 file |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
137 - mean: Only if nanopolish eventalign called with --samples. Mean of the normalised signal values provided by Nanopolish eventalign |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
138 - median: Only if nanopolish eventalign called with --samples. Median of the normalised signal values provided by Nanopolish eventalign |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
139 - std: Only if nanopolish eventalign called with --samples. Standard deviation of the normalised signal values provided by Nanopolish eventalign |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
140 - mad: Only if nanopolish eventalign called with --samples. Median absolute deviation of the normalised signal values provided by Nanopolish eventalign |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
141 - num_signals: Only if nanopolish eventalign called with --samples. Number of raw signal points. |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
142 - samples: Only if nanopolish eventalign called with --samples and Eventalign_collapse called with --write_samples. List of normalised signal intensity values for this kmer |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
143 |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
144 In addition Eventalign_collapse also generates an useful index file containing reads level information. It contains the following fields: |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
145 |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
146 - read_id: Name or index of the read |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
147 - ref_id: Name of the reference sequence the read was aligned on (contig) |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
148 - ref_start: Start coordinate of the alignment on the reference sequence |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
149 - ref_end: End coordinate of the alignment on the reference sequence |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
150 - dwell_time: Cumulative dwell time in seconds for the entire resquiggled sequence |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
151 - kmers: Overall number of resquiggled kmers |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
152 - NNNNN_kmers: Number of resquiggled kmers containing at least 1 event for which the model sequence was "NNNNN" |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
153 - mismatching_kmers: Number of resquiggled kmers containing at least 1 event for which the model sequence diverged from the reference sequence |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
154 - missing_kmers: Number of skipped/missing reference positions in nanopolish output |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
155 - byte_offset: Number of characters before the start of the sequence in the main output file. This can be used in conjunction with file.seek() to directly access the start of a read. An example is provided in the Usage notebook. |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
156 - byte_len: Length of characters after byte_offset to the end of the read, excluding the last newline. This can be used in conjunction with read() to read all the text chunk corresponding to the read. |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
157 |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
158 .. class:: infomark |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
159 |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
160 **References** |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
161 |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
162 @REFERENCES@ |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
163 ]]></help> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
164 <expand macro="citations"/> |
6847a625db4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ commit e96954b0926211a1da3292c00aada6d366a2b25d"
iuc
parents:
diff
changeset
|
165 </tool> |