annotate jvarkit_wgscoverageplotter.xml @ 1:364b8ee3a3e4 draft

"planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit daf26ee9c6301e69786c505d9c9f97c67fd59746"
author iuc
date Thu, 11 Feb 2021 10:14:31 +0000
parents 859e0611960c
children ac048a34cac3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
1 <tool id="jvarkit_wgscoverageplotter" name="BAM Coverage Plotter" version="@TOOL_VERSION@+galaxy0">
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
2 <description>Plot read coverage across a genomic contig</description>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
3 <macros>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
4 <token name="@TOOL_VERSION@">20201223</token>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
5 </macros>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
6 <requirements>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
7 <requirement type="package" version="@TOOL_VERSION@">jvarkit-wgscoverageplotter</requirement>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
8 <requirement type="package" version="1.11">samtools</requirement>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
9 <requirement type="package" version="7.0.10_62">imagemagick</requirement>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
10 </requirements>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
11 <command detect_errors="exit_code"><![CDATA[
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
12 #set include_regex = str($adv.include_contig_regex).strip()
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
13 #set exclude_regex = str($adv.skip_contig_regex).strip()
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
14 #set alignment_name = str($alignment_file.element_identifier)
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
15 #if str($reference.source) == "history"
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
16 ln -s '$reference.hist_genome' reference.fasta &&
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
17 samtools faidx reference.fasta &&
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
18 #else
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
19 #set ref_path = str($reference.cached_genome.fields.path)
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
20 #set ref_index_path = str($reference.cached_genome.fields.path) + '.fai'
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
21 ln -s '$ref_path' reference.fasta &&
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
22 ln -s '$ref_index_path' reference.fasta.fai &&
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
23 #end if
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
24 samtools view -H '$alignment_file' |grep -E '^(@HD|@SQ)' >reference.dict &&
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
25 cat reference.dict &&
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
26 ln -s '$alignment_file' '$alignment_name' &&
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
27 ln -s '${alignment_file.metadata.bam_index}' '${alignment_name}.bai' &&
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
28 wgscoverageplotter.sh
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
29 --reference reference.fasta
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
30 --dimension '$dimension'
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
31 --output plot.svg
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
32 $adv.disable_paired_overlap
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
33 #if $include_regex
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
34 -I '$include_regex'
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
35 #end if
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
36 #if $exclude_regex
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
37 -X '$exclude_regex'
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
38 #end if
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
39 --mapq $adv.min_mapq
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
40 --max-depth $adv.max_depth
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
41 $adv.clip
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
42 --min-contig-length '$adv.min_contig_length'
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
43 --percentile $adv.percentile
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
44 $adv.points
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
45 #if str($adv.sample_filter.filter_by_sample) == "true"
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
46 --samples '$adv.sample_filter.samples'
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
47 --partition '$adv.sample_filter.partition'
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
48 #end if
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
49 '$alignment_name' &&
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
50 #if str($format) == "SVG"
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
51 mv plot.svg '$plot_output'
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
52 #else
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
53 convert plot.svg '$format:$plot_output'
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
54 #end if
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
55 ]]>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
56 </command>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
57 <inputs>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
58 <conditional name="reference">
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
59 <param name="source" type="select"
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
60 label="Will you select a reference genome from your history or use a built-in genome?">
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
61 <option value="cached">Use a built-in genome</option>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
62 <option value="history" selected="true">Use a genome from my history</option>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
63 </param>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
64 <when value="cached">
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
65 <!-- NOTE: wgscoverageplotter requires the genome to be both indexed (with samtools index)
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
66 and also have a dictionary (from picard CreateSequenceDictionary). since there is no
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
67 way to specify both of these requirements, we take the indexed genome and build a dictionary -->
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
68 <param name="cached_genome" type="select"
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
69 label="Reference genome"
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
70 help="The FASTA reference genome that reads were mapped against.">
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
71 <options from_data_table="fasta_indexes" />
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
72 </param>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
73 </when>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
74 <when value="history">
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
75 <param name="hist_genome" type="data" format="fasta"
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
76 label="Reference genome"
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
77 help="The FASTA reference genome that reads were mapped against."/>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
78 </when>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
79 </conditional>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
80 <param name="alignment_file" type="data" format="bam" label="BAM alignment" />
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
81 <param argument="--dimension" value="1000x500" type="text" label="Image dimensions" />
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
82 <param name="format" type="select" label="Output format" help="Note that SVG might not display correctly on all Galaxy servers">
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
83 <option value="PNG" selected="true">PNG</option>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
84 <option value="SVG">SVG</option>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
85 </param>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
86 <section name="adv" title="Advanced options" expanded="false">
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
87 <param argument="--disable-paired-overlap"
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
88 name="disable_paired_overlap"
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
89 type="boolean" truevalue="--disable-paired-overlap"
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
90 falsevalue="" label="Count overlapping bases with mate for paired-end" />
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
91 <param argument="--include-contig-regex" name="include_contig_regex" type="text" label="Only keep chromosomes matching this regular expression." />
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
92 <param argument="--mapq" name="min_mapq" type="integer" value="1" label="Minimum mapping quality" />
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
93 <param argument="--max-depth"
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
94 name="max_depth"
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
95 type="integer"
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
96 label="y-axis (depth) limit of the plot"
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
97 value="-1"
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
98 help="The special value '-1' will first compute the average depth and the set the max depth to 2*average" />
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
99 <param argument="--clip"
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
100 type="boolean"
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
101 label="Clip the plot at the y-axis limit"
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
102 help="Default is to let the coverage plot exceed the y-axis limit"
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
103 truevalue="--clip"
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
104 falsevalue="" />
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
105 <param argument="--min-contig-length"
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
106 name="min_contig_length"
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
107 type="text"
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
108 label="Skip chromosomes shorter than"
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
109 value="0"
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
110 help="A distance specified as a positive integer.">
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
111 <validator type="regex" message="A positive integer optionally followed by the suffixes b,bp,k,kb,m,mb is required">[0-9,]+(bp|b|kb|k|mb|m)?$</validator>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
112 </param>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
113 <param argument="--percentile" type="select" label="How to bin the coverage under one pixel">
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
114 <option value="median" selected="true">median</option>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
115 <option value="average">average</option>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
116 <option value="min">min</option>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
117 <option value="max">max</option>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
118 </param>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
119 <param argument="--points"
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
120 type="boolean"
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
121 label="Plot coverage using points instead of areas"
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
122 truevalue="--points"
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
123 falsevalue=""
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
124 />
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
125 <param argument="--skip-contig-regex"
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
126 name="skip_contig_regex"
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
127 type="text"
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
128 label="Skip chromosomes matching this regular expression" />
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
129 <conditional name="sample_filter">
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
130 <param name="filter_by_sample" type="select" label="Filter by sample">
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
131 <option value="true">Yes</option>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
132 <option value="false" selected="true">No</option>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
133 </param>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
134 <when value="true">
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
135 <param argument="--samples"
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
136 type="text"
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
137 label="Limit to these read groups"
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
138 help="See also --partition. Multiple read groups can be separated with commas.">
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
139 <validator type="expression" message="If a filter is being used, this field cannot be blank">len(str(value).strip()) > 0</validator>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
140 </param>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
141 <param argument="--partition" type="select" label="How to interpret identifiers in --samples" help="Partitions are modelled on the GATK logic as described here: https://gatk.broadinstitute.org/hc/en-us/articles/360051307491-DepthOfCoverage-BETA-#--partition-type">
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
142 <option value="sample" selected="true">sample</option>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
143 <option value="readgroup">readgroup</option>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
144 <option value="library">library</option>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
145 <option value="platform">platform</option>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
146 <option value="sample_by_platform">sample_by_platform</option>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
147 <option value="sample_by_platform_by_center">sample_by_platform_by_center</option>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
148 <option value="any">any</option>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
149 </param>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
150 </when>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
151 <when value="false">
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
152 </when>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
153 </conditional>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
154 </section>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
155 </inputs>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
156 <outputs>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
157 <data format="png" name="plot_output">
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
158 <change_format>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
159 <when input="format" value="SVG" format="svg" />
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
160 </change_format>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
161 </data>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
162 </outputs>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
163 <tests>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
164 <test>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
165 <conditional name="reference">
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
166 <param name="source" value="history" />
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
167 <param name="hist_genome" ftype="fasta" value="reference.fasta" />
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
168 </conditional>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
169 <param name="alignment_file" ftype="bam" value="sars_cov2_trimmed_cut.bam" />
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
170 <output name="plot_output">
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
171 <assert_contents>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
172 <has_size value="26303" delta="15000" />
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
173 </assert_contents>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
174 </output>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
175 </test>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
176 <test>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
177 <conditional name="reference">
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
178 <param name="source" value="history" />
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
179 <param name="hist_genome" ftype="fasta" value="reference.fasta" />
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
180 </conditional>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
181 <param name="alignment_file" ftype="bam" value="sars_cov2_trimmed_cut.bam" />
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
182 <param name="format" value="SVG" />
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
183 <output name="plot_output">
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
184 <assert_contents>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
185 <has_size value="7805" delta="2000"/>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
186 </assert_contents>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
187 </output>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
188 </test>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
189 <test>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
190 <conditional name="reference">
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
191 <param name="source" value="history" />
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
192 <param name="hist_genome" ftype="fasta" value="reference.fasta" />
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
193 </conditional>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
194 <param name="alignment_file" ftype="bam" value="sars_cov2_trimmed_cut.bam" />
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
195 <section name="adv">
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
196 <param name="max_depth" value="50" />
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
197 </section>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
198 <output name="plot_output">
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
199 <assert_contents>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
200 <has_size value="25410" delta="15000" />
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
201 </assert_contents>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
202 </output>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
203 </test>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
204 <test>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
205 <conditional name="reference">
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
206 <param name="source" value="cached" />
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
207 <param name="cached_genome" value="sars-cov-2-fragment" />
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
208 </conditional>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
209 <param name="alignment_file" ftype="bam" value="sars_cov2_trimmed_cut.bam" />
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
210 <output name="plot_output">
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
211 <assert_contents>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
212 <has_size value="26303" delta="15000" />
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
213 </assert_contents>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
214 </output>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
215 </test>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
216
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
217 </tests>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
218 <help><![CDATA[
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
219
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
220 **WGSCoveragePlotter from the jvarkit toolkit**
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
221
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
222 WGSCoveragePlotter_ is a tool to plot the coverage of aligned reads across a genomic contig. It takes
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
223 as input a BAM file and a genomic contig in FASTA format and produces an image in either PNG or SVG format
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
224 showing the depth of read coverage across the contig.
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
225
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
226 .. _WGSCoveragePlotter: http://lindenb.github.io/jvarkit/WGSCoveragePlotter.html
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
227 ]]>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
228 </help>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
229 <citations>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
230 <citation type="doi">10.6084/m9.figshare.1425030</citation>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
231 </citations>
859e0611960c "planemo upload for repository https://github.com/galaxyproject/iuc/tree/master/tools/jvarkit commit ee258cf884aa478b4ce4f978c4239f237c813701"
iuc
parents:
diff changeset
232 </tool>