Mercurial > repos > iuc > zerone
annotate zerone.xml @ 0:75962a01d8ab draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
author | iuc |
---|---|
date | Thu, 06 Sep 2018 09:34:52 -0400 |
parents | |
children |
rev | line source |
---|---|
0
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
1 <tool id="zerone" name="zerone" version="1.0"> |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
2 <requirements> |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
3 <requirement type="package" version="1.0">zerone</requirement> |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
4 </requirements> |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
5 <version_command>zerone --version</version_command> |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
6 <command detect_errors="exit_code"><![CDATA[ |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
7 #set $mock_args = [] |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
8 #set $chip_args = [] |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
9 #for i,mock_input in enumerate($mock): |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
10 #silent mock_args.append("'mock_%i.%s'" % ($i, $mock_input.ext)) |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
11 ln -s '$mock_input' 'mock_${i}.${mock_input.ext}' && |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
12 #end for |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
13 #for i,chip_input in enumerate($chip): |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
14 #silent chip_args.append("'chip_%i.%s'" % ($i, $mock_input.ext)) |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
15 ln -s '$chip_input' 'chip_${i}.${chip_input.ext}' && |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
16 #end for |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
17 |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
18 zerone |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
19 --mock #echo ",".join($mock_args)# |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
20 --chip #echo ",".join($chip_args)# |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
21 --window $window |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
22 --quality $quality |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
23 $list_output |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
24 $confidence > '$output' |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
25 ]]></command> |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
26 <inputs> |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
27 <param argument="--chip" type="data" format="sam,bam" multiple="true" label="ChIP alignment file(s)"/> |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
28 <param argument="--mock" type="data" format="sam,bam" multiple="true" label="Control alignment file(s)"/> |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
29 <param argument="--window" type="integer" value="300" min="1" label="Window size in bp (default 300)"/> |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
30 <param argument="--quality" type="integer" value="20" min="1" label="Minimum mapping quality (default 20)"/> |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
31 <param argument="--list_output" type="boolean" truevalue="--list-output" falsevalue="" label="Output list of targets (default table)"/> |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
32 <param argument="--confidence" type="boolean" truevalue="--confidence" falsevalue="" label="Print targets only with higher confidence" help="Restricts intervals accordingly in list output"/> |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
33 </inputs> |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
34 <outputs> |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
35 <data name="output" format="interval" label="Zerone on $on_string"/> |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
36 </outputs> |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
37 <tests> |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
38 <test> |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
39 <param name="chip" value="ctcf1.bam,ctcf2.bam"/> |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
40 <param name="mock" value="mock.bam"/> |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
41 <output name="output"> |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
42 <assert_contents> |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
43 <has_line line="# QC score: 0.478"/> |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
44 <has_line line="# features: 0.025, 10.000, 0.000, 0.018, 0.924"/> |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
45 <has_line line="# advice: accept discretization."/> |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
46 <has_line_matching expression="chrX\t1\t300\t0\t0\t0\t0\t0.33332"/> |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
47 </assert_contents> |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
48 </output> |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
49 </test> |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
50 <test> |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
51 <param name="chip" value="ctcf1.bam,ctcf2.bam"/> |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
52 <param name="mock" value="mock.bam"/> |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
53 <param name="list_output" value="true"/> |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
54 <output name="output" file="list_output.tab"/> |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
55 </test> |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
56 </tests> |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
57 <help><![CDATA[ |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
58 **What it does** |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
59 |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
60 Zerone discretizes several ChIP-seq replicates simultaneously and resolves conflicts between them. After the job is done, Zerone checks the results and tells you whether it passes the quality control. |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
61 |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
62 **Results** |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
63 |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
64 The first three lines contain the result of the quality control. It consists of a quality score followed by the numeric values of 5 features, and an advice to either accept or reject the discretization. The recommendation is to accept if the score is positive and reject if it is negative. If the score is higher than 1 (or lower than -1), the advice is considered extremely reliable. |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
65 |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
66 The rest of the lines contain the discretization proper. The first three columns specify the chromosome, start and end positions of each window. |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
67 The fourth column represents the enrichment. Zerone classifies each window into one of two possible states. State 0 represents background signal and state 1 represents an enriched window. |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
68 |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
69 The fifth column contains the read counts of all the control profiles summed together per window. The following columns show the number of reads per window in the ChIP-seq files, in the order they were provided. The final column is the estimated probability that the window is a target (it is a confidence score for the call). |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
70 |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
71 If you select "Output list of targets" Zerone produces an alternative output in which only the targets are shown after merging consecutive windows. |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
72 The first three columns are the same as in window output i.e. chromosome or sequence name, start and end. The last column is the confidence score of the called target. It is the highest confidence of the windows merged in the same target region. |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
73 ]]></help> |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
74 <citations> |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
75 <citation type="doi">10.1093/bioinformatics/btw33</citation> |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
76 </citations> |
75962a01d8ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/zerone commit 537bbf2e3ae9e7dcc619354911caf774338d7a0e
iuc
parents:
diff
changeset
|
77 </tool> |