Mercurial > repos > fubar > bigwig_outlier_bed
annotate bigwig_outlier_bed.xml @ 8:032e930ef6a1 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bigwig_outlier_bed commit 7eac2f224d3126002edd2c02d1133b23ac1a4881
author | fubar |
---|---|
date | Wed, 24 Jul 2024 09:19:08 +0000 |
parents | c8e22efcaeda |
children |
rev | line source |
---|---|
6
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
1 <tool name="Bigwig extremes to bed features" id="bigwig_outlier_bed" version="@TOOL_VERSION@" profile="22.05"> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
2 <description>Writes high and low bigwig runs as features in a bed file</description> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
3 <macros> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
4 <token name="@TOOL_VERSION@">0.2.0</token> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
5 <token name="@NUMPY_VERSION@">2.0.0</token> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
6 <token name="@PYTHON_VERSION@">3.12.3</token> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
7 </macros> |
0
c71db540eb38
planemo upload for repository https://github.com/jackh726/bigtools commit ce6b9f638ebcebcad5a5b10219f252962f30e5cc-dirty
fubar
parents:
diff
changeset
|
8 <edam_topics> |
c71db540eb38
planemo upload for repository https://github.com/jackh726/bigtools commit ce6b9f638ebcebcad5a5b10219f252962f30e5cc-dirty
fubar
parents:
diff
changeset
|
9 <edam_topic>topic_0157</edam_topic> |
c71db540eb38
planemo upload for repository https://github.com/jackh726/bigtools commit ce6b9f638ebcebcad5a5b10219f252962f30e5cc-dirty
fubar
parents:
diff
changeset
|
10 <edam_topic>topic_0092</edam_topic> |
c71db540eb38
planemo upload for repository https://github.com/jackh726/bigtools commit ce6b9f638ebcebcad5a5b10219f252962f30e5cc-dirty
fubar
parents:
diff
changeset
|
11 </edam_topics> |
c71db540eb38
planemo upload for repository https://github.com/jackh726/bigtools commit ce6b9f638ebcebcad5a5b10219f252962f30e5cc-dirty
fubar
parents:
diff
changeset
|
12 <edam_operations> |
c71db540eb38
planemo upload for repository https://github.com/jackh726/bigtools commit ce6b9f638ebcebcad5a5b10219f252962f30e5cc-dirty
fubar
parents:
diff
changeset
|
13 <edam_operation>operation_0337</edam_operation> |
6
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
14 </edam_operations> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
15 <xrefs> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
16 <xref type="bio.tools">bigtools</xref> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
17 </xrefs> |
0
c71db540eb38
planemo upload for repository https://github.com/jackh726/bigtools commit ce6b9f638ebcebcad5a5b10219f252962f30e5cc-dirty
fubar
parents:
diff
changeset
|
18 <requirements> |
6
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
19 <requirement type="package" version="@PYTHON_VERSION@">python</requirement> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
20 <requirement type="package" version="@NUMPY_VERSION@">numpy</requirement> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
21 <requirement type="package" version="@TOOL_VERSION@">pybigtools</requirement> |
0
c71db540eb38
planemo upload for repository https://github.com/jackh726/bigtools commit ce6b9f638ebcebcad5a5b10219f252962f30e5cc-dirty
fubar
parents:
diff
changeset
|
22 </requirements> |
6
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
23 <required_files> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
24 <include path="bigwig_outlier_bed.py"/> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
25 </required_files> |
0
c71db540eb38
planemo upload for repository https://github.com/jackh726/bigtools commit ce6b9f638ebcebcad5a5b10219f252962f30e5cc-dirty
fubar
parents:
diff
changeset
|
26 <version_command><![CDATA[python -c "import pybigtools; from importlib.metadata import version; print(version('pybigtools'))"]]></version_command> |
6
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
27 <command><![CDATA[python '${__tool_directory__}/bigwig_outlier_bed.py' |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
28 --bigwig |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
29 #for bw in $bigwig: |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
30 '$bw' |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
31 #end for |
0
c71db540eb38
planemo upload for repository https://github.com/jackh726/bigtools commit ce6b9f638ebcebcad5a5b10219f252962f30e5cc-dirty
fubar
parents:
diff
changeset
|
32 --bigwiglabels |
6
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
33 #for bw in $bigwig: |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
34 '$bw.name' |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
35 #end for |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
36 --outbeds '$outbeds' |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
37 #if $outbeds in ['outhilo', 'outall']: |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
38 --bedouthilo '$bedouthilo' |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
39 #end if |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
40 #if $outbeds in ['outhi', 'outall', 'outlohi']: |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
41 --bedouthi '$bedouthi' |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
42 #end if |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
43 #if $outbeds in ['outlo', 'outall', 'outlohi']: |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
44 --bedoutlo '$bedoutlo' |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
45 #end if |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
46 --minwin '$minwin' |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
47 #if $qhi: |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
48 --qhi '$qhi' |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
49 #end if |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
50 #if $qlo: |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
51 --qlo '$qlo' |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
52 #end if |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
53 #if $tableout == "create" or $outbeds == "outtab": |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
54 --tableoutfile '$tableoutfile' |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
55 #end if |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
56 ]]></command> |
0
c71db540eb38
planemo upload for repository https://github.com/jackh726/bigtools commit ce6b9f638ebcebcad5a5b10219f252962f30e5cc-dirty
fubar
parents:
diff
changeset
|
57 <inputs> |
6
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
58 <param name="bigwig" type="data" optional="false" label="Choose one or more bigwig file(s) to return outlier regions as a bed file" |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
59 help="If more than one, MUST all use the same reference sequence to be displayable. Feature names will include the bigwig label." format="bigwig" multiple="true"/> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
60 <param name="minwin" type="integer" value="10" label="Minimum continuous bases to count as a high or low bed feature" |
8
032e930ef6a1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bigwig_outlier_bed commit 7eac2f224d3126002edd2c02d1133b23ac1a4881
fubar
parents:
7
diff
changeset
|
61 help="Minimum continuous length to count as a bed feature. If windowed bigwig, must be bigger than window size to have any effect"/> |
032e930ef6a1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bigwig_outlier_bed commit 7eac2f224d3126002edd2c02d1133b23ac1a4881
fubar
parents:
7
diff
changeset
|
62 <param name="qhi" type="float" value="0.99999" label="Quantile cutoff for a high region - 0.99999 will cut off at about 1 in 100,000" |
032e930ef6a1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bigwig_outlier_bed commit 7eac2f224d3126002edd2c02d1133b23ac1a4881
fubar
parents:
7
diff
changeset
|
63 help="1 per 100k might be a few thousand features in a 200M chromosome - depends on the distribution - see the table output" optional="false"/> |
032e930ef6a1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bigwig_outlier_bed commit 7eac2f224d3126002edd2c02d1133b23ac1a4881
fubar
parents:
7
diff
changeset
|
64 <param name="qlo" type="float" value="0.00001" label="Quantile cutoff for a low region - 0.01 will cut off at or below the 1st percentile." help="Optional" optional="true"/> |
032e930ef6a1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bigwig_outlier_bed commit 7eac2f224d3126002edd2c02d1133b23ac1a4881
fubar
parents:
7
diff
changeset
|
65 <param name="outbeds" type="select" label="Select the required bed file outputs or none for a bigwig value distribution report" |
032e930ef6a1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bigwig_outlier_bed commit 7eac2f224d3126002edd2c02d1133b23ac1a4881
fubar
parents:
7
diff
changeset
|
66 help="Any combination of the 3 different kinds of bed file output can be made"> |
6
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
67 <option value="outhilo" selected="true">Make 1 bed output with both low and high regions</option> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
68 <option value="outhi">Make 1 bed output with high regions only</option> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
69 <option value="outlo">Make 1 bed output with low regions only</option> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
70 <option value="outall">Make 3 bed outputs with low and high together in one, high in one and low in the other</option> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
71 <option value="outlohi">Make 2 bed outputs with high in one and low in the other</option> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
72 <option value="outtab">NO bed outputs. Report bigwig value distribution only</option> |
0
c71db540eb38
planemo upload for repository https://github.com/jackh726/bigtools commit ce6b9f638ebcebcad5a5b10219f252962f30e5cc-dirty
fubar
parents:
diff
changeset
|
73 </param> |
6
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
74 <param name="tableout" type="select" label="Write a table showing contig statistics for each bigwig input" help=""> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
75 <option value="donotmake">Do not create this report</option> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
76 <option value="create" selected="true">Create this report</option> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
77 </param> |
0
c71db540eb38
planemo upload for repository https://github.com/jackh726/bigtools commit ce6b9f638ebcebcad5a5b10219f252962f30e5cc-dirty
fubar
parents:
diff
changeset
|
78 </inputs> |
c71db540eb38
planemo upload for repository https://github.com/jackh726/bigtools commit ce6b9f638ebcebcad5a5b10219f252962f30e5cc-dirty
fubar
parents:
diff
changeset
|
79 <outputs> |
8
032e930ef6a1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bigwig_outlier_bed commit 7eac2f224d3126002edd2c02d1133b23ac1a4881
fubar
parents:
7
diff
changeset
|
80 <data name="bedouthilo" format="bed" label="High_and_low_bed"> |
6
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
81 <filter>outbeds in ["outall", "outhilo"]</filter> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
82 </data> |
8
032e930ef6a1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bigwig_outlier_bed commit 7eac2f224d3126002edd2c02d1133b23ac1a4881
fubar
parents:
7
diff
changeset
|
83 <data name="bedouthi" format="bed" label="High bed"> |
6
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
84 <filter>outbeds in ["outall", "outlohi", "outhi"]</filter> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
85 </data> |
8
032e930ef6a1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bigwig_outlier_bed commit 7eac2f224d3126002edd2c02d1133b23ac1a4881
fubar
parents:
7
diff
changeset
|
86 <data name="bedoutlo" format="bed" label="Low bed"> |
6
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
87 <filter>outbeds in ["outall", "outlohi", "outlo"]</filter> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
88 </data> |
8
032e930ef6a1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bigwig_outlier_bed commit 7eac2f224d3126002edd2c02d1133b23ac1a4881
fubar
parents:
7
diff
changeset
|
89 <data name="tableoutfile" format="txt" label="Contig statistics"> |
032e930ef6a1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bigwig_outlier_bed commit 7eac2f224d3126002edd2c02d1133b23ac1a4881
fubar
parents:
7
diff
changeset
|
90 <filter>tableout == "create" or outbeds == "outtab"</filter> |
6
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
91 </data> |
0
c71db540eb38
planemo upload for repository https://github.com/jackh726/bigtools commit ce6b9f638ebcebcad5a5b10219f252962f30e5cc-dirty
fubar
parents:
diff
changeset
|
92 </outputs> |
c71db540eb38
planemo upload for repository https://github.com/jackh726/bigtools commit ce6b9f638ebcebcad5a5b10219f252962f30e5cc-dirty
fubar
parents:
diff
changeset
|
93 <tests> |
6
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
94 <test expect_num_outputs="1"> |
0
c71db540eb38
planemo upload for repository https://github.com/jackh726/bigtools commit ce6b9f638ebcebcad5a5b10219f252962f30e5cc-dirty
fubar
parents:
diff
changeset
|
95 <output name="bedouthilo" value="bedouthilo_sample" compare="diff" lines_diff="0"/> |
6
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
96 <param name="outbeds" value="outhilo"/> |
0
c71db540eb38
planemo upload for repository https://github.com/jackh726/bigtools commit ce6b9f638ebcebcad5a5b10219f252962f30e5cc-dirty
fubar
parents:
diff
changeset
|
97 <param name="bigwig" value="bigwig_sample"/> |
c71db540eb38
planemo upload for repository https://github.com/jackh726/bigtools commit ce6b9f638ebcebcad5a5b10219f252962f30e5cc-dirty
fubar
parents:
diff
changeset
|
98 <param name="minwin" value="10"/> |
c71db540eb38
planemo upload for repository https://github.com/jackh726/bigtools commit ce6b9f638ebcebcad5a5b10219f252962f30e5cc-dirty
fubar
parents:
diff
changeset
|
99 <param name="qhi" value="0.99"/> |
c71db540eb38
planemo upload for repository https://github.com/jackh726/bigtools commit ce6b9f638ebcebcad5a5b10219f252962f30e5cc-dirty
fubar
parents:
diff
changeset
|
100 <param name="qlo" value="0.01"/> |
6
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
101 <param name="tableout" value="donotmake"/> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
102 </test> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
103 <test expect_num_outputs="1"> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
104 <output name="tableoutfile" value="table_only_sample" compare="diff" lines_diff="0"/> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
105 <param name="outbeds" value="outtab"/> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
106 <param name="bigwig" value="bigwig_sample,1.bigwig"/> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
107 <param name="minwin" value="10"/> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
108 <param name="qhi" value="0.99"/> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
109 <param name="qlo" value="0.01"/> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
110 <param name="tableout" value="create"/> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
111 </test> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
112 <test expect_num_outputs="2"> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
113 <output name="bedouthilo" value="bedouthilo_sample" compare="diff" lines_diff="0"/> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
114 <output name="tableoutfile" value="table_sample" compare="diff" lines_diff="0"/> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
115 <param name="outbeds" value="outhilo"/> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
116 <param name="bigwig" value="bigwig_sample"/> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
117 <param name="minwin" value="10"/> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
118 <param name="qhi" value="0.99"/> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
119 <param name="qlo" value="0.01"/> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
120 <param name="tableout" value="create"/> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
121 </test> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
122 <test expect_num_outputs="2"> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
123 <output name="bedouthi" value="bedouthi_qlo_notset_sample" compare="diff" lines_diff="0"/> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
124 <output name="tableoutfile" value="table_qlo_notset_sample" compare="diff" lines_diff="0"/> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
125 <param name="outbeds" value="outhi"/> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
126 <param name="bigwig" value="bigwig_sample"/> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
127 <param name="minwin" value="10"/> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
128 <param name="qhi" value="0.99"/> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
129 <param name="qlo" value=""/> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
130 <param name="tableout" value="create"/> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
131 </test> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
132 <test expect_num_outputs="3"> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
133 <output name="bedouthi" value="bedouthi_sample" compare="diff" lines_diff="0"/> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
134 <output name="bedoutlo" value="bedoutlo_sample" compare="diff" lines_diff="0"/> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
135 <output name="tableoutfile" value="table3_sample" compare="diff" lines_diff="0"/> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
136 <param name="outbeds" value="outlohi"/> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
137 <param name="bigwig" value="bigwig_sample"/> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
138 <param name="minwin" value="1"/> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
139 <param name="qhi" value="0.9"/> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
140 <param name="qlo" value="0.1"/> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
141 <param name="tableout" value="create"/> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
142 </test> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
143 <test expect_num_outputs="4"> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
144 <output name="bedouthilo" value="bedouthilo2_sample" compare="diff" lines_diff="0"/> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
145 <output name="bedoutlo" value="bedoutlo2_sample" compare="diff" lines_diff="0"/> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
146 <output name="bedouthi" value="bedouthi2_sample" compare="diff" lines_diff="0"/> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
147 <output name="tableoutfile" value="table2_sample" compare="diff" lines_diff="0"/> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
148 <param name="outbeds" value="outall"/> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
149 <param name="bigwig" value="bigwig_sample,1.bigwig"/> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
150 <param name="minwin" value="1"/> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
151 <param name="qhi" value="0.9"/> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
152 <param name="qlo" value="0.1"/> |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
153 <param name="tableout" value="create"/> |
0
c71db540eb38
planemo upload for repository https://github.com/jackh726/bigtools commit ce6b9f638ebcebcad5a5b10219f252962f30e5cc-dirty
fubar
parents:
diff
changeset
|
154 </test> |
c71db540eb38
planemo upload for repository https://github.com/jackh726/bigtools commit ce6b9f638ebcebcad5a5b10219f252962f30e5cc-dirty
fubar
parents:
diff
changeset
|
155 </tests> |
c71db540eb38
planemo upload for repository https://github.com/jackh726/bigtools commit ce6b9f638ebcebcad5a5b10219f252962f30e5cc-dirty
fubar
parents:
diff
changeset
|
156 <help><![CDATA[ |
6
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
157 |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
158 **Purpose** |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
159 |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
160 *Combine bigwig outlier regions into bed files* |
0
c71db540eb38
planemo upload for repository https://github.com/jackh726/bigtools commit ce6b9f638ebcebcad5a5b10219f252962f30e5cc-dirty
fubar
parents:
diff
changeset
|
161 |
6
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
162 Bigwigs allow quantative tracks to be viewed in an interactive genome browser like JBrowse2. |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
163 Peaks are easy to see. Unusually low regions can be harder to spot, even if they are relatively large, unless the view is zoomed right in. |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
164 Automated methods for combining evidence from multiple bigwigs can be useful for constructing browseable *issues* or other kinds of summary bed format tracks. |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
165 For example, combining coverage outlier regions, with the frequency of specific dicnucleotide short tandem repeats, |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
166 for evaluating technical sequencing technology effects in the evaluation of a genome assembly described at https://github.com/arangrhie/T2T-Polish |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
167 |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
168 **What does it produce?** |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
169 |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
170 Bed format results are output, containing each continuous segment of at least *minwin* base pairs above a cut point, or below another cut point. |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
171 These can be viewed as features on the reference genome using a genome browser tool like JBrowse2. |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
172 Three kinds of bed files can be created depending on the values included. |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
173 Both high and low regions in one bed output is the default. This can be displayed in JBrowse2 with colour indicating the high or low status, |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
174 one less track and a little easier to understand. High and low features can be output as separate bed files. |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
175 |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
176 **How is it controlled?** |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
177 |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
178 The cut points are calculated using a user supplied quantile, from each chromosome's bigwig value distribution. |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
179 The defaults are 0.99 and 0.01 and the default *minwin* is 10. |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
180 The probability of 10 values at or below the 1st percentile purely by chance is about 0.01**10, so false positives should be |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
181 rare, even in a 3GB genome. |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
182 This data driven and non-parametric method is preferred for the asymmetrical distributions found in typical bigwigs, such as depth of coverage |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
183 for genome sequencing reads. Coverage values are truncated at zero, and regions with very high values often form a long sparse right tail. |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
184 |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
185 **How do I choose the input data?** |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
186 |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
187 One or more bigwigs and can be selected as inputs. |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
188 Multiple bigwigs will be combined in bed files, so must share the reference genome to display |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
189 using JBrowse2. |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
190 |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
191 .. class:: warningmark |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
192 |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
193 **Lower quantile may not behave as expected in bigwigs with large fractions of zero values** |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
194 |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
195 The lower cut point may be problematic for integer values like coverage if many values are zero. For example, if 5% of bases have zero coverage, the 1st percentile is also zero, |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
196 but that cut point will include the entire 5% *at or below 0* |
eb17eb8a3658
planemo upload commit 1baff96e75def9248afdcf21edec9bdc7ed42b1f-dirty
fubar
parents:
5
diff
changeset
|
197 |
0
c71db540eb38
planemo upload for repository https://github.com/jackh726/bigtools commit ce6b9f638ebcebcad5a5b10219f252962f30e5cc-dirty
fubar
parents:
diff
changeset
|
198 |
c71db540eb38
planemo upload for repository https://github.com/jackh726/bigtools commit ce6b9f638ebcebcad5a5b10219f252962f30e5cc-dirty
fubar
parents:
diff
changeset
|
199 ]]></help> |
c71db540eb38
planemo upload for repository https://github.com/jackh726/bigtools commit ce6b9f638ebcebcad5a5b10219f252962f30e5cc-dirty
fubar
parents:
diff
changeset
|
200 <citations> |
c71db540eb38
planemo upload for repository https://github.com/jackh726/bigtools commit ce6b9f638ebcebcad5a5b10219f252962f30e5cc-dirty
fubar
parents:
diff
changeset
|
201 <citation type="doi">10.1093/bioinformatics/btae350</citation> |
c71db540eb38
planemo upload for repository https://github.com/jackh726/bigtools commit ce6b9f638ebcebcad5a5b10219f252962f30e5cc-dirty
fubar
parents:
diff
changeset
|
202 </citations> |
c71db540eb38
planemo upload for repository https://github.com/jackh726/bigtools commit ce6b9f638ebcebcad5a5b10219f252962f30e5cc-dirty
fubar
parents:
diff
changeset
|
203 </tool> |
c71db540eb38
planemo upload for repository https://github.com/jackh726/bigtools commit ce6b9f638ebcebcad5a5b10219f252962f30e5cc-dirty
fubar
parents:
diff
changeset
|
204 |