annotate filter_insertions.xml @ 78:6178c24ddd5a draft

"planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit a1ef57aa402ca6a3cfc75a9652a02372b8b2c013"
author mvdbeek
date Tue, 07 Apr 2020 08:57:47 -0400
parents 8c3d8d38674a
children c42dd2551c9c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
78
6178c24ddd5a "planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit a1ef57aa402ca6a3cfc75a9652a02372b8b2c013"
mvdbeek
parents: 76
diff changeset
1 <tool id="confirm_insertions" name="Confirm or discard insertions" version="0.5.24">
38
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
2 <description>based on softclips in control files</description>
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
3 <requirements>
78
6178c24ddd5a "planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit a1ef57aa402ca6a3cfc75a9652a02372b8b2c013"
mvdbeek
parents: 76
diff changeset
4 <requirement type="package" version="0.5.24">readtagger</requirement>
38
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
5 </requirements>
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
6 <version_command>confirm_insertions --version</version_command>
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
7 <command detect_errors="aggressive"><![CDATA[
39
432bb619c079 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 5adc383da0811cbfc6f82c6bad594efbe6c7b682-dirty
mvdbeek
parents: 38
diff changeset
8 ln -fs $putative_insertions putative_insertions.gff &&
432bb619c079 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 5adc383da0811cbfc6f82c6bad594efbe6c7b682-dirty
mvdbeek
parents: 38
diff changeset
9 ln -fs $all_insertions all_insertions.gff &&
42
5b8781514bc1 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 63220935ba51b0b5480da88017d58616bf671337-dirty
mvdbeek
parents: 41
diff changeset
10 #for i, p in enumerate($all_controls)
5b8781514bc1 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 63220935ba51b0b5480da88017d58616bf671337-dirty
mvdbeek
parents: 41
diff changeset
11 ln -fs '$p' all_controls_${i}.gff &&
5b8781514bc1 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 63220935ba51b0b5480da88017d58616bf671337-dirty
mvdbeek
parents: 41
diff changeset
12 #end for
38
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
13 confirm_insertions
39
432bb619c079 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 5adc383da0811cbfc6f82c6bad594efbe6c7b682-dirty
mvdbeek
parents: 38
diff changeset
14 --putative_insertions_path putative_insertions.gff
432bb619c079 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 5adc383da0811cbfc6f82c6bad594efbe6c7b682-dirty
mvdbeek
parents: 38
diff changeset
15 --all_treatments_path all_insertions.gff
42
5b8781514bc1 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 63220935ba51b0b5480da88017d58616bf671337-dirty
mvdbeek
parents: 41
diff changeset
16 #for i, p in enumerate($all_controls)
5b8781514bc1 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 63220935ba51b0b5480da88017d58616bf671337-dirty
mvdbeek
parents: 41
diff changeset
17 --all_controls_paths all_controls_${i}.gff
41
4fdf606153df planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 89e57ebe9ad1eb4ba44167f83935869fb54b8396-dirty
mvdbeek
parents: 40
diff changeset
18 #end for
38
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
19 --output_path '$output'
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
20 $output_discard
64
190d64e5e32b "planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit be63fdf98ea1aaa5009136c6b0f8c1311e53bb8e"
mvdbeek
parents: 63
diff changeset
21 --min_length $min_length
38
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
22 ]]></command>
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
23 <inputs>
52
b03c6d8c37c1 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 45d0337e2a0d35e9a83d9c87c005c876c45ee054
mvdbeek
parents: 51
diff changeset
24 <param name="putative_insertions" label="Select dataset with filtered putative insertions" argument="--putative_insertions_path" type="data" format="gff3"/>
b03c6d8c37c1 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 45d0337e2a0d35e9a83d9c87c005c876c45ee054
mvdbeek
parents: 51
diff changeset
25 <param name="all_insertions" label="Select datasets with all unfiltered insertions" argument="--all_treatments_path" type="data" format="gff3"/>
b03c6d8c37c1 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 45d0337e2a0d35e9a83d9c87c005c876c45ee054
mvdbeek
parents: 51
diff changeset
26 <param name="all_controls" label="Select datasets with all unfiltered insertions from one or more control samples" argument="--all_controls_path" multiple="True" type="data" format="gff3"/>
39
432bb619c079 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 5adc383da0811cbfc6f82c6bad594efbe6c7b682-dirty
mvdbeek
parents: 38
diff changeset
27 <param name="output_discard" label="Output discarded records? Discarded records will be marked as failed." truevalue="--output_discarded_records" falsevalue="--no_output_discarded_records" checked="True" type="boolean"/>
64
190d64e5e32b "planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit be63fdf98ea1aaa5009136c6b0f8c1311e53bb8e"
mvdbeek
parents: 63
diff changeset
28 <param argument="--min_length" label="Minimum length necessary to match clip patterns" help="If too low will create false matches, if too high will not find legitimate matches." value="4" min="1" type="integer"/>
38
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
29 </inputs>
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
30 <outputs>
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
31 <data name="output" format="gff3"/>
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
32 </outputs>
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
33 <tests>
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
34 <test>
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
35 <param name="putative_insertions" value="putative_insertions.gff" ftype="gff3"/>
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
36 <param name="all_insertions" value="all_treatment_insertions.gff" ftype="gff3"/>
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
37 <param name="all_controls" value="all_control_insertions.gff" ftype="gff3"/>
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
38 <output name="output" file="confirmed_insertions.gff" ftype="gff3"/>
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
39 </test>
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
40 </tests>
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
41 <help><![CDATA[
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
42 .. code-block::
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
43
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
44
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
45 Usage: confirm_insertions [OPTIONS]
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
46
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
47 Confirm insertions by checking that control file does not contain the same
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
48 clipping pattern.
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
49
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
50 Options:
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
51 -p, --putative_insertions_path PATH
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
52 Path to file containing putative somatic
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
53 insertions [required]
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
54 -t, --all_treatments_path PATH Path to file containing all treatment
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
55 insertions [required]
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
56 -c, --all_controls_path PATH Path to file containing all control
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
57 insertions [required]
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
58 -o, --output_path TEXT Write annotated output to this Path.
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
59 --output_discarded_records / --no_output_discarded_records
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
60 Discard an alternative flag if the current
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
61 read is in a proper pair.
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
62 --version Show the version and exit.
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
63 --help Show this message and exit.
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
64 ]]></help>
f6311a04a6c9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 6ac744bd9d610990d1d54a2c36ddfca671b15205-dirty
mvdbeek
parents:
diff changeset
65 </tool>