comparison mut2read.xml @ 0:e5953c54cfb5 draft

planemo upload for repository https://github.com/gpovysil/VariantAnalyzerGalaxy/tree/master/tools/variant_analyzer commit ee4a8e6cf290e6c8a4d55f9cd2839d60ab3b11c8
author mheinzl
date Sun, 04 Oct 2020 17:19:39 +0000
parents
children 2a505d46f682
comparison
equal deleted inserted replaced
-1:000000000000 0:e5953c54cfb5
1 <?xml version="1.0" encoding="UTF-8"?>
2 <tool id="mut2read" name="DCS mutations to tags/reads:" version="1.0.1" profile="19.01">
3 <description>Extracts all tags that carry a mutation in the duplex consensus sequence (DCS)</description>
4 <macros>
5 <import>va_macros.xml</import>
6 </macros>
7 <expand macro="requirements"/>
8 <command><![CDATA[
9 ln -s '$file2' bam_input.bam &&
10 ln -s '${file2.metadata.bam_index}' bam_input.bam.bai &&
11 python '$__tool_directory__/mut2read.py'
12 --mutFile '$file1'
13 --bamFile bam_input.bam
14 --familiesFile '$file3'
15 --outputFastq '$output_fastq'
16 --outputJson '$output_json'
17 ]]>
18 </command>
19 <inputs>
20 <param name="file1" type="data" format="tabular" label="DCS Mutation File" optional="false" help="TABULAR file with DCS mutations. See Help section below for a detailed explanation."/>
21 <param name="file2" type="data" format="bam" label="DCS BAM File" optional="false" help="BAM file with aligned DCS reads."/>
22 <param name="file3" type="data" format="tabular" label="Aligned Families File" optional="false" help="TABULAR file with aligned families."/>
23 </inputs>
24 <outputs>
25 <data name="output_fastq" format="fastq" label="${tool.name} on ${on_string}: FASTQ"/>
26 <data name="output_json" format="json" label="${tool.name} on ${on_string}: JSON"/>
27 </outputs>
28 <tests>
29 <test>
30 <param name="file1" value="DCS_Mutations_test_data_VA.tabular"/>
31 <param name="file2" value="DCS_test_data_VA.bam"/>
32 <param name="file3" value="Aligned_Families_test_data_VA.tabular"/>
33 <output name="output_fastq" file="Interesting_Reads_test_data_VA.fastq" lines_diff="136"/>
34 <output name="output_json" file="tag_count_dict_test_data_VA.json" lines_diff="2"/>
35 </test>
36 </tests>
37 <help> <![CDATA[
38 **What it does**
39
40 Takes a tabular file with mutations, a BAM file of aligned DCS reads, and a
41 tabular file with aligned families as input and prints all tags of reads that
42 carry a mutation to a user specified output file and creates a fastq file of
43 reads of tags with a mutation.
44
45 **Input**
46
47 **Dataset 1:** Tabular file with duplex consesus sequence (DCS) mutations as
48 generated by the **Variant Annotator** tool.
49
50 **Dataset 2:** BAM file of aligned DCS reads. This file can be obtained by the
51 tool `Map with BWA-MEM <https://arxiv.org/abs/1303.3997>`_.
52
53 **Dataset 3:** Tabular file with reads as produced by the
54 **Du Novo: Align families** tool of the `Du Novo Analysis Pipeline
55 <https://doi.org/10.1186/s13059-016-1039-4>`_
56
57 **Output**
58
59 The output is a json file containing dictonaries of the tags of reads containing mutations
60 in the DCS and a fastq file of all reads of these tags.
61
62 ]]>
63 </help>
64 <expand macro="citation" />
65 </tool>