annotate extract_variants.xml @ 63:e675e6d349bd draft

"planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 8ed4215b007a3f552e1b1964907a505858822fb4"
author mvdbeek
date Sun, 01 Sep 2019 12:03:42 -0400
parents 16eba798cbc6
children 190d64e5e32b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
63
e675e6d349bd "planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 8ed4215b007a3f552e1b1964907a505858822fb4"
mvdbeek
parents: 62
diff changeset
1 <tool id="extract_variants" name="Extract variant fragments" version="0.5.10">
54
7191da0bc7be planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
2 <description>from long reads</description>
7191da0bc7be planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
3 <requirements>
63
e675e6d349bd "planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 8ed4215b007a3f552e1b1964907a505858822fb4"
mvdbeek
parents: 62
diff changeset
4 <requirement type="package" version="0.5.10">readtagger</requirement>
54
7191da0bc7be planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
5 </requirements>
7191da0bc7be planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
6 <version_command>extract_variants --version</version_command>
7191da0bc7be planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
7 <command detect_errors="aggressive"><![CDATA[
7191da0bc7be planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
8 ln -fs '$insert_reference.fields.path' reference.fa &&
7191da0bc7be planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
9 extract_variants '$input' '$output' reference.fa
7191da0bc7be planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
10 ]]></command>
7191da0bc7be planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
11 <inputs>
7191da0bc7be planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
12 <param name="input" label="Select alignment for which to extract variants" type="data" format="bam,cram"/>
7191da0bc7be planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
13 <param name="insert_reference" label="Select a reference. If a variant aligns against this reference it will be retained" type="select">
7191da0bc7be planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
14 <options from_data_table="all_fasta"/>
7191da0bc7be planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
15 </param>
7191da0bc7be planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
16 </inputs>
7191da0bc7be planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
17 <outputs>
7191da0bc7be planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
18 <data name="output" format_source="input"/>
7191da0bc7be planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
19 </outputs>
7191da0bc7be planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
20 <tests>
7191da0bc7be planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
21 <test>
7191da0bc7be planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
22 <param name="input" value="long_insertion.bam" ftype="bam"/>
7191da0bc7be planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
23 <param name="insert_reference" value="transposon"/>
7191da0bc7be planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
24 <output name="output" file="long_insert_tagged.bam" ftype="bam"/>
7191da0bc7be planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
25 </test>
7191da0bc7be planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
26 </tests>
7191da0bc7be planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
27 <help><![CDATA[
7191da0bc7be planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
28
7191da0bc7be planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
29 Extract variants will find soft-clipped alignments and alignments with insertions,
7191da0bc7be planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
30 and, if the inserted sequence aligns with the selected reference, write out
7191da0bc7be planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
31 a the alignment, but clip the aligned portion of the read to a single N
7191da0bc7be planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
32 and will add 2 tags, AR and AD to the alignment.
7191da0bc7be planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
33 The AR tag will list the contig, the AD tag contains detailed
7191da0bc7be planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
34 information on how the insert/clipped sequence aligned against the selected
7191da0bc7be planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
35 reference.
7191da0bc7be planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
36 ]]></help>
7191da0bc7be planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
37 </tool>