annotate cfsan_snp_pipeline_call_consensus_snps.xml @ 0:3275d4866650 draft

Uploaded
author greg
date Fri, 13 Oct 2023 17:57:44 +0000
parents
children 0fd0a757072c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
3275d4866650 Uploaded
greg
parents:
diff changeset
1 <tool id="cfsan_snp_pipeline_call_consensus_snps" name="CFSAN SNP Pipeline: call consensus SNPs" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
3275d4866650 Uploaded
greg
parents:
diff changeset
2 <description></description>
3275d4866650 Uploaded
greg
parents:
diff changeset
3 <macros>
3275d4866650 Uploaded
greg
parents:
diff changeset
4 <import>macros.xml</import>
3275d4866650 Uploaded
greg
parents:
diff changeset
5 </macros>
3275d4866650 Uploaded
greg
parents:
diff changeset
6 <expand macro="requirements"/>
3275d4866650 Uploaded
greg
parents:
diff changeset
7 <command detect_errors="exit_code"><![CDATA[
3275d4866650 Uploaded
greg
parents:
diff changeset
8 cfsan_snp_pipeline call_consensus -v 4 -l '$input_merged_snp_sites' --vcfFileName 'consensus.vcf' '$input_call_pileup' &&
3275d4866650 Uploaded
greg
parents:
diff changeset
9 mv ./consensus.fasta '$output_fasta' &&
3275d4866650 Uploaded
greg
parents:
diff changeset
10 mv ./consensus.vcf '$output_vcf'
3275d4866650 Uploaded
greg
parents:
diff changeset
11 ]]></command>
3275d4866650 Uploaded
greg
parents:
diff changeset
12 <inputs>
3275d4866650 Uploaded
greg
parents:
diff changeset
13 <param type="data" name="input_merged_snp_sites" format="tabular" label="Merged SNP sites tabular file"/>
3275d4866650 Uploaded
greg
parents:
diff changeset
14 <param type="data" name="input_snp_sites" format="vcf" label="SNP sites vcf file"/>
3275d4866650 Uploaded
greg
parents:
diff changeset
15 <param type="data" name="input_call_pileup" format="pileup" label="SNP sites pileup file"/>
3275d4866650 Uploaded
greg
parents:
diff changeset
16 </inputs>
3275d4866650 Uploaded
greg
parents:
diff changeset
17 <outputs>
3275d4866650 Uploaded
greg
parents:
diff changeset
18 <data name="output_vcf" format="vcf" label="Consensus SNPs (vcf)"/>
3275d4866650 Uploaded
greg
parents:
diff changeset
19 <data name="output_fasta" format="fasta" label="Consensus SNPs (fasta)"/>
3275d4866650 Uploaded
greg
parents:
diff changeset
20 </outputs>
3275d4866650 Uploaded
greg
parents:
diff changeset
21 <tests>
3275d4866650 Uploaded
greg
parents:
diff changeset
22 <test>
3275d4866650 Uploaded
greg
parents:
diff changeset
23 <param name="input_merged_snp_sites" value="input_merged_snp_sites.tabular"/>
3275d4866650 Uploaded
greg
parents:
diff changeset
24 <param name="input_snp_sites" value="input_snp_sites.vcf"/>
3275d4866650 Uploaded
greg
parents:
diff changeset
25 <param name="input_call_pileup" value="input_call_pileup.pileup"/>
3275d4866650 Uploaded
greg
parents:
diff changeset
26 <output name="output_vcf" value="output.vcf" lines_diff="20"/>
3275d4866650 Uploaded
greg
parents:
diff changeset
27 <output name="output_fasta" value="output.fasta" lines_diff="2"/>
3275d4866650 Uploaded
greg
parents:
diff changeset
28 </test>
3275d4866650 Uploaded
greg
parents:
diff changeset
29 </tests>
3275d4866650 Uploaded
greg
parents:
diff changeset
30 <help><![CDATA[
3275d4866650 Uploaded
greg
parents:
diff changeset
31 **What it does**
3275d4866650 Uploaded
greg
parents:
diff changeset
32
3275d4866650 Uploaded
greg
parents:
diff changeset
33 Call the consensus base for a sample at the specified positions where high-
3275d4866650 Uploaded
greg
parents:
diff changeset
34 confidence SNPs were previously called in any of the samples. Generates a
3275d4866650 Uploaded
greg
parents:
diff changeset
35 single-sequence fasta file with one base per specified position.
3275d4866650 Uploaded
greg
parents:
diff changeset
36
3275d4866650 Uploaded
greg
parents:
diff changeset
37 **Optional parameters**
3275d4866650 Uploaded
greg
parents:
diff changeset
38
3275d4866650 Uploaded
greg
parents:
diff changeset
39 * **force** - Force processing even when result file already exists and is newer than inputs (default: False)
3275d4866650 Uploaded
greg
parents:
diff changeset
40 * **snpListFile** - Relative or absolute path to the SNP list file across all samples (default: snplist.txt)
3275d4866650 Uploaded
greg
parents:
diff changeset
41 * **excludeFile** - VCF file of positions to exclude (default: None)
3275d4866650 Uploaded
greg
parents:
diff changeset
42 * **minBaseQual** - Mimimum base quality score to count a read - all other snp filters take effect after the low-quality reads are discarded (default: 0)
3275d4866650 Uploaded
greg
parents:
diff changeset
43 * **minConsFreq** - Consensus frequency. Mimimum fraction of high-quality reads supporting the consensus to make a call (default: 0.6)
3275d4866650 Uploaded
greg
parents:
diff changeset
44 * **minConsFreq** - Consensus frequency. Mimimum fraction of high-quality reads supporting the consensus to make a call (default: 0.6)
3275d4866650 Uploaded
greg
parents:
diff changeset
45 * **minConsDpth** - Consensus depth - minimum number of high-quality reads supporting the consensus to make a call (default: 1)
3275d4866650 Uploaded
greg
parents:
diff changeset
46 * **minConsStrdDpth** - Consensus strand depth - minimum number of high-quality reads supporting the consensus which must be present on both the forward and reverse strands to make a call (default: 0)
3275d4866650 Uploaded
greg
parents:
diff changeset
47 * **minConsStrdBias** - Strand bias - minimum fraction of the high-quality consensus-supporting reads which must be present on both the forward and reverse strands to make a call. The numerator of this fraction is the number of high-quality consensus-supporting reads on one strand. The denominator is the total number of high-quality consensus-supporting reads on both strands combined. (default: 0)
3275d4866650 Uploaded
greg
parents:
diff changeset
48 * **vcfRefName** - Name of the reference file. This is only used in the generated VCF file header. (default: Unknown reference)
3275d4866650 Uploaded
greg
parents:
diff changeset
49 * **vcfAllPos** - Flag to cause VCF file generation at all positions, not just the snp positions. This has no effect on the consensus fasta file, it only affects the VCF file. This capability is intended primarily as a diagnostic tool and enabling this flag will greatly increase execution time. (default: False)
3275d4866650 Uploaded
greg
parents:
diff changeset
50 * **vcfPreserveRefCase** - Flag to cause the VCF file generator to emit each reference base in uppercase/lowercase as it appears in the reference sequence file. If not specified, the reference base is emitted in uppercase. (default: False)
3275d4866650 Uploaded
greg
parents:
diff changeset
51 * **vcfFailedSnpGt** - Controls the VCF file GT data element when a snp fails filters. Possible values: .) The GT element will be a dot, indicating unable to make a call. 0) The GT element will be 0, indicating the reference base. 1) The GT element will be the ALT index of the most commonly occuring base, usually 1. (default: .)
3275d4866650 Uploaded
greg
parents:
diff changeset
52
3275d4866650 Uploaded
greg
parents:
diff changeset
53 **More information**
3275d4866650 Uploaded
greg
parents:
diff changeset
54
3275d4866650 Uploaded
greg
parents:
diff changeset
55 CFSAN SNP Pipeline `call consensus documentation <https://snp-pipeline.readthedocs.io/en/latest/cmd_ref.html#call-consensus>`_
3275d4866650 Uploaded
greg
parents:
diff changeset
56 ]]></help>
3275d4866650 Uploaded
greg
parents:
diff changeset
57 <expand macro="citations"/>
3275d4866650 Uploaded
greg
parents:
diff changeset
58 </tool>
3275d4866650 Uploaded
greg
parents:
diff changeset
59