annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
1 <?xml version="1.0"?>
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
2 <tool id="shorah_amplicon" version="@VERSION@+galaxy0" name="Reconstruct haplotypes">
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
3 <description>with ShoRAH in amplicon mode</description>
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
4 <macros>
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
5 <token name="@VERSION@">1.1.3</token>
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
6 </macros>
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
7 <requirements>
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
8 <requirement type="package" version="@VERSION@">shorah</requirement>
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
9 </requirements>
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
10 <command detect_errors="exit_code">
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
11 <![CDATA[
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
12 ln -s '$bam' input.bam &&
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
13 ln -s '$fasta' input.fa &&
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
14 amplian.py
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
15 --bam input.bam
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
16 --fasta input.fa
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
17 #if str($region):
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
18 --region '$region'
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
19 #end if
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
20 $diversity
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
21 --min_overlap $min_overlap
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
22 --alpha $alpha
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
23 --maxcov $maxcov
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
24 --sigma $sigma &&
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
25 sed -i.bak 's/,/\t/g' SNVs_0.010000_final.csv
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
26
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
27 ]]>
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
28 </command>
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
29 <inputs>
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
30 <param argument="--bam" type="data" format="bam" label="Aligned reads in .bam format" />
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
31 <param argument="--fasta" type="data" format="fasta" label="Reference genome in fasta format" />
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
32 <param argument="--region" type="text" value="" optional="true" label="Limit to a specific region" help="e.g. 'ch3:1000-1300'" />
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
33 <param argument="--diversity" type="boolean" truevalue="--diversity" falsevalue="" label="Run on the highest entropy region" />
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
34 <param argument="--min_overlap" type="float" value="0.95" min="0" max="1" optional="true" label="Fraction of read overlap to be included" />
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
35 <param argument="--alpha" type="float" value="0.5" optional="true" label="Alpha in dpm sampling" />
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
36 <param argument="--maxcov" type="integer" value="50000" optional="true" label="Approximate max coverage allowed" />
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
37 <param argument="--sigma" type="float" value="0.01" optional="true" label="Sigma value to use when calling SNVs" />
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
38 <param name="log_output" type="boolean" truevalue="log" falsevalue="" label="Include the log in the history" />
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
39 </inputs>
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
40 <outputs>
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
41 <data name="haplotypes" format="tabular" from_work_dir="SNVs_0.010000_final.csv" label="${tool.name} on ${on_string}: Haplotypes" />
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
42 <data name="log" format="txt" from_work_dir="SNV.txt" label="${tool.name} on ${on_string}: Log">
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
43 <filter>log_output</filter>
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
44 </data>
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
45 </outputs>
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
46 <tests>
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
47 <test>
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
48 <param name="bam" ftype="bam" value="shorah-amplicon-in1.bam" />
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
49 <param name="fasta" ftype="fasta" value="shorah-amplicon-in1.fa" />
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
50 <param name="min_overlap" value="0.95" />
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
51 <param name="log_output" value="log" />
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
52 <output name="haplotypes" file="shorah-amplicon-out1.tsv" compare="re_match" />
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
53 <output name="log" file="shorah-amplicon-out1.txt" compare="re_match" />
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
54 </test>
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
55 </tests>
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
56 <help>
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
57 <![CDATA[
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
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.
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
59 ]]>
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
60 </help>
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
61 <citations>
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
62 <citation type="doi">10.1186/1471-2105-12-119</citation>
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
63 </citations>
fc46049f6c27 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shorah commit e302de4f94384825ead064acc33b33fc95c081d9
iuc
parents:
diff changeset
64 </tool>