annotate cfsan_snp_pipeline_merge_vcfs.xml @ 2:5c341fcd18ff draft default tip

Uploaded
author greg
date Thu, 23 Nov 2023 19:01:14 +0000
parents ab24883161d3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
e958c5f7c9d1 Uploaded
greg
parents:
diff changeset
1 <tool id="cfsan_snp_pipeline_merge_vcfs" name="CFSAN SNP Pipeline: merge vcfs" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
e958c5f7c9d1 Uploaded
greg
parents:
diff changeset
2 <description>from multiple samples</description>
e958c5f7c9d1 Uploaded
greg
parents:
diff changeset
3 <macros>
e958c5f7c9d1 Uploaded
greg
parents:
diff changeset
4 <import>macros.xml</import>
e958c5f7c9d1 Uploaded
greg
parents:
diff changeset
5 </macros>
e958c5f7c9d1 Uploaded
greg
parents:
diff changeset
6 <expand macro="requirements"/>
e958c5f7c9d1 Uploaded
greg
parents:
diff changeset
7 <command detect_errors="exit_code"><![CDATA[
1
ab24883161d3 Uploaded
greg
parents: 0
diff changeset
8 python '$__tool_directory__/snp_wind.py' ./ -p 'consensus.vcf'
ab24883161d3 Uploaded
greg
parents: 0
diff changeset
9 #for $input_vcf in $input_vcf_collection
ab24883161d3 Uploaded
greg
parents: 0
diff changeset
10 -n '$input_vcf.element_identifier' -f '$input_vcf'
ab24883161d3 Uploaded
greg
parents: 0
diff changeset
11 #end for
2
5c341fcd18ff Uploaded
greg
parents: 1
diff changeset
12 > ./file &&
5c341fcd18ff Uploaded
greg
parents: 1
diff changeset
13 cfsan_snp_pipeline merge_vcfs ./file &&
5c341fcd18ff Uploaded
greg
parents: 1
diff changeset
14 mv snpma.vcf '$output'
0
e958c5f7c9d1 Uploaded
greg
parents:
diff changeset
15 ]]></command>
e958c5f7c9d1 Uploaded
greg
parents:
diff changeset
16 <inputs>
1
ab24883161d3 Uploaded
greg
parents: 0
diff changeset
17 <param name="input_vcf_collection" type="data_collection" format="vcf" collection_type="list" label="Collection of VCF files"/>
0
e958c5f7c9d1 Uploaded
greg
parents:
diff changeset
18 </inputs>
e958c5f7c9d1 Uploaded
greg
parents:
diff changeset
19 <outputs>
2
5c341fcd18ff Uploaded
greg
parents: 1
diff changeset
20 <data name="output" label="SNP matrix" format="vcf"/>
0
e958c5f7c9d1 Uploaded
greg
parents:
diff changeset
21 </outputs>
e958c5f7c9d1 Uploaded
greg
parents:
diff changeset
22 <tests>
e958c5f7c9d1 Uploaded
greg
parents:
diff changeset
23 <test>
e958c5f7c9d1 Uploaded
greg
parents:
diff changeset
24 <param name="input_vcf_collection">
e958c5f7c9d1 Uploaded
greg
parents:
diff changeset
25 <collection type="list">
e958c5f7c9d1 Uploaded
greg
parents:
diff changeset
26 <element name="sample1" value="samples/sample1/consensus.vcf" ftype="vcf"/>
e958c5f7c9d1 Uploaded
greg
parents:
diff changeset
27 <element name="sample2" value="samples/sample2/consensus.vcf" ftype="vcf"/>
e958c5f7c9d1 Uploaded
greg
parents:
diff changeset
28 <element name="sample3" value="samples/sample3/consensus.vcf" ftype="vcf"/>
e958c5f7c9d1 Uploaded
greg
parents:
diff changeset
29 <element name="sample4" value="samples/sample4/consensus.vcf" ftype="vcf"/>
e958c5f7c9d1 Uploaded
greg
parents:
diff changeset
30 </collection>
e958c5f7c9d1 Uploaded
greg
parents:
diff changeset
31 </param>
e958c5f7c9d1 Uploaded
greg
parents:
diff changeset
32 <output name="output" ftype="vcf">
e958c5f7c9d1 Uploaded
greg
parents:
diff changeset
33 <assert_contents>
2
5c341fcd18ff Uploaded
greg
parents: 1
diff changeset
34 <has_size value="31888" delta="100"/>
0
e958c5f7c9d1 Uploaded
greg
parents:
diff changeset
35 </assert_contents>
e958c5f7c9d1 Uploaded
greg
parents:
diff changeset
36 </output>
e958c5f7c9d1 Uploaded
greg
parents:
diff changeset
37 </test>
e958c5f7c9d1 Uploaded
greg
parents:
diff changeset
38 </tests>
e958c5f7c9d1 Uploaded
greg
parents:
diff changeset
39 <help><![CDATA[
e958c5f7c9d1 Uploaded
greg
parents:
diff changeset
40 **What it does**
e958c5f7c9d1 Uploaded
greg
parents:
diff changeset
41
e958c5f7c9d1 Uploaded
greg
parents:
diff changeset
42 Merges the consensus vcf files from all samples into a single multi-vcf file.
e958c5f7c9d1 Uploaded
greg
parents:
diff changeset
43
e958c5f7c9d1 Uploaded
greg
parents:
diff changeset
44 **More information**
e958c5f7c9d1 Uploaded
greg
parents:
diff changeset
45
e958c5f7c9d1 Uploaded
greg
parents:
diff changeset
46 CFSAN SNP Pipeline `merge sites documentation <https://snp-pipeline.readthedocs.io/en/latest/cmd_ref.html#merge-sites>`_
e958c5f7c9d1 Uploaded
greg
parents:
diff changeset
47 ]]></help>
e958c5f7c9d1 Uploaded
greg
parents:
diff changeset
48 <expand macro="citations"/>
e958c5f7c9d1 Uploaded
greg
parents:
diff changeset
49 </tool>
e958c5f7c9d1 Uploaded
greg
parents:
diff changeset
50