comparison shorah.xml @ 0:fc46049f6c27 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
author iuc
date Mon, 14 Jan 2019 15:17:56 -0500
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:fc46049f6c27
1 <?xml version="1.0"?>
2 <tool id="shorah_amplicon" version="@VERSION@+galaxy0" name="Reconstruct haplotypes">
3 <description>with ShoRAH in amplicon mode</description>
4 <macros>
5 <token name="@VERSION@">1.1.3</token>
6 </macros>
7 <requirements>
8 <requirement type="package" version="@VERSION@">shorah</requirement>
9 </requirements>
10 <command detect_errors="exit_code">
11 <![CDATA[
12 ln -s '$bam' input.bam &&
13 ln -s '$fasta' input.fa &&
14 amplian.py
15 --bam input.bam
16 --fasta input.fa
17 #if str($region):
18 --region '$region'
19 #end if
20 $diversity
21 --min_overlap $min_overlap
22 --alpha $alpha
23 --maxcov $maxcov
24 --sigma $sigma &&
25 sed -i.bak 's/,/\t/g' SNVs_0.010000_final.csv
26
27 ]]>
28 </command>
29 <inputs>
30 <param argument="--bam" type="data" format="bam" label="Aligned reads in .bam format" />
31 <param argument="--fasta" type="data" format="fasta" label="Reference genome in fasta format" />
32 <param argument="--region" type="text" value="" optional="true" label="Limit to a specific region" help="e.g. 'ch3:1000-1300'" />
33 <param argument="--diversity" type="boolean" truevalue="--diversity" falsevalue="" label="Run on the highest entropy region" />
34 <param argument="--min_overlap" type="float" value="0.95" min="0" max="1" optional="true" label="Fraction of read overlap to be included" />
35 <param argument="--alpha" type="float" value="0.5" optional="true" label="Alpha in dpm sampling" />
36 <param argument="--maxcov" type="integer" value="50000" optional="true" label="Approximate max coverage allowed" />
37 <param argument="--sigma" type="float" value="0.01" optional="true" label="Sigma value to use when calling SNVs" />
38 <param name="log_output" type="boolean" truevalue="log" falsevalue="" label="Include the log in the history" />
39 </inputs>
40 <outputs>
41 <data name="haplotypes" format="tabular" from_work_dir="SNVs_0.010000_final.csv" label="${tool.name} on ${on_string}: Haplotypes" />
42 <data name="log" format="txt" from_work_dir="SNV.txt" label="${tool.name} on ${on_string}: Log">
43 <filter>log_output</filter>
44 </data>
45 </outputs>
46 <tests>
47 <test>
48 <param name="bam" ftype="bam" value="shorah-amplicon-in1.bam" />
49 <param name="fasta" ftype="fasta" value="shorah-amplicon-in1.fa" />
50 <param name="min_overlap" value="0.95" />
51 <param name="log_output" value="log" />
52 <output name="haplotypes" file="shorah-amplicon-out1.tsv" compare="re_match" />
53 <output name="log" file="shorah-amplicon-out1.txt" compare="re_match" />
54 </test>
55 </tests>
56 <help>
57 <![CDATA[
58 ShoRAH is an open source project for the analysis of next generation sequencing data. It is designed to analyse genetically heterogeneous samples. Its tools are written in different programming languages and provide error correction, haplotype reconstruction and estimation of the frequency of the different genetic variants present in a mixed sample.
59 ]]>
60 </help>
61 <citations>
62 <citation type="doi">10.1186/1471-2105-12-119</citation>
63 </citations>
64 </tool>