annotate extract_variants.xml @ 56:b50e114fece9 draft

planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit c3a7b2f6aa429ea2881ee8d111ace3cce95bb9e7
author mvdbeek
date Sun, 28 Jul 2019 15:59:14 -0400
parents 5c96f12f837d
children 38ae00c376ef
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
56
b50e114fece9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit c3a7b2f6aa429ea2881ee8d111ace3cce95bb9e7
mvdbeek
parents: 55
diff changeset
1 <tool id="extract_variants" name="Extract variant fragments" version="0.5.3">
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>
56
b50e114fece9 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit c3a7b2f6aa429ea2881ee8d111ace3cce95bb9e7
mvdbeek
parents: 55
diff changeset
4 <requirement type="package" version="0.5.3">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>