annotate extract_variants.xml @ 74:d7768519c5fc draft default tip

"planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit df2b1a906b8772810d995d7887e4e8f04aabc13a"
author mvdbeek
date Tue, 07 Apr 2020 17:37:50 +0000
parents 559f210b2c23
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
74
d7768519c5fc "planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit df2b1a906b8772810d995d7887e4e8f04aabc13a"
mvdbeek
parents: 73
diff changeset
1 <tool id="extract_variants" name="Extract variant fragments" version="0.5.25">
50
95ada1410aed 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>
95ada1410aed planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
3 <requirements>
74
d7768519c5fc "planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit df2b1a906b8772810d995d7887e4e8f04aabc13a"
mvdbeek
parents: 73
diff changeset
4 <requirement type="package" version="0.5.25">readtagger</requirement>
50
95ada1410aed planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
5 </requirements>
95ada1410aed 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>
95ada1410aed 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[
95ada1410aed 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 &&
65
08a10eefc2ca "planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 1bc80492c93251d0cbe39d120872869e08d8d435"
mvdbeek
parents: 64
diff changeset
9 extract_variants '$input' '$output_alignment' reference.fa &&
08a10eefc2ca "planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 1bc80492c93251d0cbe39d120872869e08d8d435"
mvdbeek
parents: 64
diff changeset
10 summarize_fragments '$output_alignment' '$output_tabular'
50
95ada1410aed planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
11 ]]></command>
95ada1410aed planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
12 <inputs>
95ada1410aed planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
13 <param name="input" label="Select alignment for which to extract variants" type="data" format="bam,cram"/>
95ada1410aed planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
14 <param name="insert_reference" label="Select a reference. If a variant aligns against this reference it will be retained" type="select">
95ada1410aed planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
15 <options from_data_table="all_fasta"/>
95ada1410aed planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
16 </param>
95ada1410aed planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
17 </inputs>
95ada1410aed planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
18 <outputs>
65
08a10eefc2ca "planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 1bc80492c93251d0cbe39d120872869e08d8d435"
mvdbeek
parents: 64
diff changeset
19 <data name="output_alignment" format_source="input" label="${tool.name} on ${on_string}: alignment"/>
08a10eefc2ca "planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 1bc80492c93251d0cbe39d120872869e08d8d435"
mvdbeek
parents: 64
diff changeset
20 <data name="output_tabular" format="tabular" label="${tool.name} on ${on_string}: summary"/>
50
95ada1410aed planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
21 </outputs>
95ada1410aed planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
22 <tests>
95ada1410aed planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
23 <test>
95ada1410aed planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
24 <param name="input" value="long_insertion.bam" ftype="bam"/>
95ada1410aed planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
25 <param name="insert_reference" value="transposon"/>
65
08a10eefc2ca "planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 1bc80492c93251d0cbe39d120872869e08d8d435"
mvdbeek
parents: 64
diff changeset
26 <output name="output_alignment" file="long_insert_tagged.bam" ftype="bam"/>
08a10eefc2ca "planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 1bc80492c93251d0cbe39d120872869e08d8d435"
mvdbeek
parents: 64
diff changeset
27 <output name="output_tabular" file="long_insert_tagged.tab" ftype="tabular"/>
50
95ada1410aed planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
28 </test>
95ada1410aed planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
29 </tests>
95ada1410aed planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
30 <help><![CDATA[
95ada1410aed planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
31
95ada1410aed planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
32 Extract variants will find soft-clipped alignments and alignments with insertions,
95ada1410aed planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
33 and, if the inserted sequence aligns with the selected reference, write out
95ada1410aed planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
34 a the alignment, but clip the aligned portion of the read to a single N
95ada1410aed planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
35 and will add 2 tags, AR and AD to the alignment.
95ada1410aed planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
36 The AR tag will list the contig, the AD tag contains detailed
95ada1410aed planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
37 information on how the insert/clipped sequence aligned against the selected
95ada1410aed planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
38 reference.
95ada1410aed planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
39 ]]></help>
95ada1410aed planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 0c8bad7554890f0f0e2c53d11e64e41fc835d920
mvdbeek
parents:
diff changeset
40 </tool>