Mercurial > repos > mvdbeek > bam_readtagger
annotate bam_readtagger.xml @ 17:777fd55e66ac draft
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit f28b0130760f515502b7858bd92adf948a942f39-dirty
author | mvdbeek |
---|---|
date | Mon, 03 Apr 2017 09:40:32 -0400 |
parents | ffd8bf1b9ebc |
children | 97c1b92dbd28 |
rev | line source |
---|---|
16
ffd8bf1b9ebc
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit c12b0c1b22f03c95651e19f32a2065a79a57188a-dirty
mvdbeek
parents:
15
diff
changeset
|
1 <tool id="bam_readtagger" name="Tag alignment files" version="0.3.12"> |
0
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
2 <description>from multiple bam files</description> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
3 <macros> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
4 <import>macros.xml</import> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
5 </macros> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
6 <requirements> |
16
ffd8bf1b9ebc
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit c12b0c1b22f03c95651e19f32a2065a79a57188a-dirty
mvdbeek
parents:
15
diff
changeset
|
7 <requirement type="package" version="0.3.12">readtagger</requirement> |
0
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
8 </requirements> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
9 <command detect_errors="aggressive"><![CDATA[ |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
10 readtagger -t '$tag_file' -a |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
11 #for $element in $alignment_series |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
12 '$element.annotate_with':$element.r_tag:$element.m_tag |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
13 #end for |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
14 $allow_dovetailing |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
15 $keep_suboptimal |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
16 $discarded |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
17 $verified |
3
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
18 $discard_proper_pairs |
0
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
19 -o '$tagged_file' |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
20 ]]></command> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
21 <inputs> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
22 <param name="tag_file" argument="--tag_file" type="data" format="bam"/> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
23 <repeat name="alignment_series" title="Alignments"> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
24 <param name="annotate_with" argument="--annotate_with" type="data" format="bam"/> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
25 <param type="select" name="r_tag" label="First letter to use for read tag" value="A"> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
26 <expand macro="tag_options"/> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
27 </param> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
28 <param type="select" name="m_tag" label="First letter to use for mate tag" value="B"> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
29 <expand macro="tag_options"/> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
30 </param> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
31 </repeat> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
32 <param argument="--allow_dovetailing" type="boolean" truevalue="-d" falsevalue="" label="Allow dovetailing" help="Check this to label reads as proper_pair even if the mates of a pair overlap each other"/> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
33 <param argument="-k" name="keep_suboptimal" type="boolean" truevalue="-k" falsevalue="" label="Keep suboptimal alternative tags" help="Check this to also keep alternative tags that cannot explain the current read cigar"/> |
3
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
34 <param argument="-dp" name="discard_proper_pairs" type="boolean" truevalue="-dp" falsevalue="" label="Discard alternative tags for proper pairs" help="Check this to discard alternative tags for reads in proper pairs"/> |
0
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
35 <param argument="-wd" name="discarded" type="boolean" truevalue="-wd discarded.bam" falsevalue="" label="Check this to produce an output file containing only the reads with tags that failed validation"/> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
36 <param argument="-wv" name="verified" type="boolean" truevalue="-wv verified.bam" falsevalue="" label="Check this to produce an output file containing only the reads with tags that pass validation"/> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
37 </inputs> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
38 <outputs> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
39 <data name="tagged_file" format="bam" label="Tagged reads on $on_string"/> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
40 <data name="verified_file" format="bam" from_work_dir="verified.bam" label="Verified reads/tags on $on_string"> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
41 <filter>verified is True</filter> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
42 </data> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
43 <data name="discarded_file" format="bam" from_work_dir="discarded.bam" label="Discarded reads/tags $on_string"> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
44 <filter>verified is True</filter> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
45 </data> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
46 </outputs> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
47 <tests> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
48 <test> <!-- test that a single read originating from a pasteurianus is properly annotated in a dm6 alignment (should end in verified bam file) --> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
49 <param name="tag_file" value="dm6.bam" ftype="bam"/> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
50 <repeat name="alignment_series"> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
51 <param name="annotate_with" value="pasteurianus.bam" ftype="bam"/> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
52 <param name="r_tag" value="A"/> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
53 <param name="m_tag" value="B"/> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
54 </repeat> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
55 <param name="discarded" value="True"/> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
56 <param name="verified" value="True"/> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
57 <output name="tagged_file" file="dm6_tagged_with_a_pasteurianus.bam" ftype="bam" lines_diff="5"/> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
58 <output name="verified_file" file="dm6_tagged_with_a_pasteurianus_verified.bam" ftype="bam" lines_diff="5"/> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
59 <output name="discarded_file" file="dm6_tagged_with_a_pasteurianus_discarded.bam" ftype="bam" lines_diff="5"/> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
60 </test> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
61 <test> <!-- test that a single read originating from a pasteurianus is annotated in pasteurianus.bam as having homology with dm6, but marked as discarded (should end in discarded bam file) --> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
62 <param name="tag_file" value="pasteurianus.bam" ftype="bam"/> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
63 <repeat name="alignment_series"> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
64 <param name="annotate_with" value="dm6.bam" ftype="bam"/> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
65 <param name="r_tag" value="A"/> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
66 <param name="m_tag" value="B"/> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
67 </repeat> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
68 <param name="discarded" value="True"/> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
69 <param name="verified" value="True"/> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
70 <output name="tagged_file" file="a_pasteurianus_tagged_with_dm6.bam" ftype="bam" lines_diff="5" /> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
71 <output name="verified_file" file="a_pasteurianus_tagged_with_dm6_verified.bam" ftype="bam" lines_diff="5"/> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
72 <output name="discarded_file" file="a_pasteurianus_tagged_with_dm6_discarded.bam" ftype="bam" lines_diff="5"/> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
73 </test> |
3
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
74 <test> <!-- test that a pair with homology to a TE insertion is discarded, because it is a proper pair --> |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
75 <param name="tag_file" value="proper_pair_discard.bam" ftype="bam"/> |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
76 <repeat name="alignment_series"> |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
77 <param name="annotate_with" value="proper_pair_discard_fbti.bam" ftype="bam"/> |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
78 <param name="r_tag" value="A"/> |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
79 <param name="m_tag" value="B"/> |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
80 </repeat> |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
81 <param name="discarded" value="True"/> |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
82 <param name="keep_suboptimal" value="True"/> |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
83 <param name="discard_proper_pairs" value="True"/> |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
84 <param name="verified" value="True"/> |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
85 <output name="tagged_file" file="proper_pair_out_suboptimal_tags.bam" ftype="bam" lines_diff="5" /> |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
86 <output name="verified_file" file="proper_pair_discard_verified_empty.bam" ftype="bam" lines_diff="5"/> |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
87 <output name="discarded_file" file="proper_pair_discard_out.bam" ftype="bam" lines_diff="5"/> |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
88 </test> |
0
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
89 </tests> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
90 <help><![CDATA[ |
3
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
91 .. code-block:: |
0
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
92 |
3
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
93 usage: readtagger [-h] -t TAG_FILE -a ANNOTATE_WITH [ANNOTATE_WITH ...] -o |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
94 OUTPUT_FILE [-d] [-dp] [-k] [-wd WRITE_DISCARDED] |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
95 [-wv WRITE_VERIFIED] [--version] |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
96 |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
97 Tag reads in an alignment file based on other alignment files |
0
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
98 |
3
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
99 optional arguments: |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
100 -h, --help show this help message and exit |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
101 -t TAG_FILE, --tag_file TAG_FILE |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
102 Tag reads in this file. (default: None) |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
103 -a ANNOTATE_WITH [ANNOTATE_WITH ...], --annotate_with ANNOTATE_WITH [ANNOTATE_WITH ...] |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
104 Tag reads in readfile if reads are aligned in these |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
105 files.Append `:A:B` to tag first letter of tag |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
106 describing read as A, and first letter of tag |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
107 describing the mate as B (default: None) |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
108 -o OUTPUT_FILE, --output_file OUTPUT_FILE |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
109 Write bam file to this path (default: None) |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
110 -d, --allow_dovetailing |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
111 Sets the proper pair flag (0x0002) to true if reads |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
112 dovetail [reads reach into or surpass the mate |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
113 sequence]. (default: False) |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
114 -dp, --discard_if_proper_pair |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
115 Discard an alternative flag if the current read is in |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
116 a proper pair. (default: False) |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
117 -k, --keep_suboptimal_alternate_tags |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
118 By default cigarstrings of the alternative tags are |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
119 compared and alternates that are not explaining the |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
120 current cigar strings are discarded. Use this option |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
121 to keep the alternative tags (effectively restoring |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
122 the behaviour of readtagger < 0.1.4) (default: False) |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
123 -wd WRITE_DISCARDED, --write_discarded WRITE_DISCARDED |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
124 Write discarded reads into separate file (default: |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
125 False) |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
126 -wv WRITE_VERIFIED, --write_verified WRITE_VERIFIED |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
127 Write verified reads into separate file (default: |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
128 False) |
cb9036583afe
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit e9d18b939a9172b858c178e6bb4ef9ce2138c94c-dirty
mvdbeek
parents:
2
diff
changeset
|
129 --version show program's version number and exit |
0
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
130 |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
131 ]]></help> |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
132 </tool> |