comparison ivar_filtervariants.xml @ 0:c88553ec696e draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 4b0b7fb6c79dcd437392a496a99301d124c9f1dd"
author iuc
date Mon, 30 Mar 2020 07:18:00 -0400
parents
children 72ddd32392cd
comparison
equal deleted inserted replaced
-1:000000000000 0:c88553ec696e
1 <tool id="ivar_filtervariants" name="ivar filtervariants" version="@VERSION@+galaxy0">
2 <description>Filter variants across replicates or multiple samples aligned using the same reference</description>
3 <macros>
4 <import>macros.xml</import>
5 </macros>
6 <expand macro="requirements" />
7 <expand macro="version_command" />
8 <command detect_errors="exit_code"><![CDATA[
9 #for $counter, $input in enumerate($inputs):
10 ln -s '$input' ./var_${counter}.tsv &&
11 #end for
12 ivar filtervariants
13 -p filtered.tsv
14 #for $counter, $input in enumerate($inputs)
15 ./var_${counter}.tsv
16 #end for
17 ]]></command>
18 <inputs>
19 <param name="inputs" type="data" format="tabular" multiple="true" label="Variant tsv files for each replicate"/>
20 </inputs>
21 <outputs>
22 <data name="output_filtered" format="tabular" label="${tool.name} on ${on_string}" from_work_dir="filtered.tsv"/>
23 </outputs>
24 <tests>
25 <test>
26 <param name="inputs" value="zika/Z52_a.tsv,zika/Z52_b.tsv" ftype="tabular"/>
27 <output name="output_filtered" file="zika/Z52.tsv" ftype="tabular" lines_diff="10"/>
28 </test>
29 </tests>
30 <help><![CDATA[
31 iVar can be used to get an intersection of variants(in .tsv files) called
32 from any number of replicates or from different samples using the same
33 reference sequence. This intersection will filter out any iSNVs that do not
34 occur in a minimum fraction of the files supplied. This parameter can be
35 changed using the -t flag which range from 0 to 1 (default). Fields that are
36 different across replicates(fields apart from REGION, POS, REF, ALT,
37 REF_CODON, REF_AA, ALT_CODON, ALT_AA) will have the filename added as a
38 suffix. If there are a large number of files to be filtered, the -f flag can
39 be used to supply a text file with one sample/replicate variant .tsv file
40 per line.
41
42 Documentation can be found at `<https://andersen-lab.github.io/ivar/html/manualpage.html>`_.
43 ]]></help>
44 <expand macro="citations" />
45 </tool>