annotate frameshift_deletions_checks.xml @ 3:99f43642d1ae draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 19423b30ae2c08e9cc16f199c64e3b6d1fcfcb44
author iuc
date Mon, 03 Jun 2024 15:51:31 +0000
parents e8971ca74398
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
1 <tool id="smgu_frameshift_deletions_checks" name="Frameshift Deletions Checks" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
2 <description>reports on frameshifting indels in consensus sequence</description>
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
3 <macros>
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
4 <import>macros.xml</import>
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
5 </macros>
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
6 <expand macro="xrefs"/>
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
7 <requirements>
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
8 <requirement type="package" version="@TOOL_VERSION@">smallgenomeutilities</requirement>
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
9 </requirements>
2
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
10 <version_command>frameshift_deletions_checks --version</version_command>
0
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
11 <command detect_errors="exit_code">
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
12 <![CDATA[
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
13 #if $input.is_of_type("cram"):
1
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
14 ln -s '$input' input.cram &&
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
15 ln -s '$input.metadata.cram_index' input.cram.crai &&
0
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
16 #elif $input.is_of_type("bam"):
1
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
17 ln -s '$input' input.bam &&
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
18 ln -s '$input.metadata.bam_index' input.bam.bai &&
0
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
19 #else:
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
20 # raise TypeError('Unknown input alignment type ${input.ext}')
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
21 #end if
1
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
22 ln -s '$consensus' consensus.fasta &&
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
23 #if str($ref_data.choice) == 'custom':
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
24 ln -s '$reference' reference.fa &&
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
25 #else:
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
26 ln -s '$__tool_directory__/ref_NC_045512.2.fasta' reference.fa &&
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
27 #end if
0
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
28
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
29 frameshift_deletions_checks
1
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
30 --input=input.${input.ext}
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
31 --consensus=consensus.fasta
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
32 --reference=reference.fa
2
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
33 #if str($align_data.choice) == 'chain':
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
34 --chain='$align_data.chain'
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
35 #end if
1
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
36 #if str($ref_data.choice) == 'standard':
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
37 --genes='$__tool_directory__'/annotations_NC_045512.2.gff3
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
38 --orf1ab='cds-YP_009724389.1'
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
39 #else:
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
40 --genes='$ref_data.genes'
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
41 --orf1ab='$ref_data.orf1ab'
0
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
42 #end if
1
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
43 $out_options.english
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
44 $out_options.zero_based
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
45 --output=report.tsv &&
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
46 python '$__tool_directory__/frameshift_deletions_report_fixer.py' report.tsv '$report'
0
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
47 ]]>
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
48 <!-- ##cores \${GALAXY_SLOTS:-4} -->
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
49 </command>
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
50 <inputs>
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
51 <param argument="--consensus" type="data" format="fasta" label="Consensus" help="Fasta file containing the sample's consensus sequence (majority, with indels)" />
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
52 <param argument="--input" type="data" format="bam,cram" label="Input BAM" help="Input BAM file with sample's sequencing reads, aligned against the reference" />
2
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
53 <!-- keep format="txt" in sync with what bcftools_consensus.xml uses. See: https://github.com/galaxyproject/tools-iuc/blob/main/tools/bcftools/bcftools_consensus.xml#L137 -->
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
54 <conditional name="align_data">
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
55 <param name="choice" type="select" label="Consensus-to-reference alignment" help="To find insertions and deletions, the tool needs information how the consensus aligns to the reference (lift-over). You can provide a .chain file describing how the consensus maps to the reference, otherwise mafft will be used to align the consensus to the reference.">
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
56 <option value="chain">Provide a .chain file</option>
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
57 <option value="mafft">Run MAFFT to obtain alignment</option>
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
58 </param>
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
59 <when value="chain">
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
60 <param argument="--chain" type="data" format="txt" optional="false" label="Chain file" help="Chain file describing how the consensus is aligned to the reference (e.g. ouput of `bcftools consensus --chain &#x2026;`)." />
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
61 </when>
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
62 <when value="mafft" />
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
63 </conditional>
1
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
64 <conditional name="ref_data">
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
65 <param name="choice" type="select" label="Reference data selection" help="Select built-in genome files to base reported positions and annotations on the SARS-CoV-2 reference sequence NC_045512.2. If you have mapped to a different reference, select custom genome files and provide the reference sequence and genomic feature annotations for it in fasta and gff format, repsectively.">
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
66 <option value="standard">Use built-in genome files</option>
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
67 <option value="custom">Provide custom genome files</option>
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
68 </param>
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
69 <when value="standard" />
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
70 <when value="custom">
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
71 <param argument="--reference" type="data" format="fasta" label="Reference" help="Fasta input containing the reference sequence (used during alignment) to compare against" />
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
72 <param argument="--genes" type="data" format="gff" label="Genes GFF" help="GFF input listing genes positions on the reference sequence" />
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
73 <param argument="--orf1ab" type="text" value="cds-YP_009724389.1" optional="false" label="Coding sequence containing ribosomal slippage site" help="ID of the full CDS comprising the ribosomal slippage site as it appears in the GFF input. In the GFF this CDS should consist of 2 entries with the same CDS ID due to the partial overlap caused by the ribosomal shift at translation time. Hint: To use the tool with genomes that do not have a ribosomal slippage site, enter an ID that is not present in the GFF.">
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
74 <validator type="expression">value.strip()</validator>
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
75 </param>
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
76 </when>
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
77 </conditional>
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
78 <section name="out_options" title="Output format options" expanded="true">
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
79 <param argument="--english" type="boolean" truevalue="--english" falsevalue="--no-english" checked="true" label="Write Summary Diagnosis?" help="If checked writes english summary diagnosis." />
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
80 <param argument="--zero-based" type="boolean" truevalue="--zero-based" falsevalue="" checked="false" optional="true" label="Use 0-based Sequence Positions?" help="Use 0-based instead of 1-based genome positions" />
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
81 </section>
0
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
82 </inputs>
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
83 <outputs>
1
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
84 <data name="report" format="tabular">
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
85 <actions>
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
86 <conditional name="out_options.english">
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
87 <!-- The "english" flag removes certain numerical columns and collapses them into new text columns -->
2
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
88 <!-- BUG the not-text columns *should* be identical (missing numerical columns will probably be fixed in a future release) -->
1
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
89 <when value="--english">
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
90 <action name="column_names" type="metadata" default="ref_id,start_position,length,VARIANT,gene_region,reads_all,reads_fwd,reads_rev,deletions,freq_del,freq_del_fwd,freq_del_rev,deletions_fwd,deletions_rev,insertions,freq_insert,freq_insert_fwd,freq_insert_rev,insertions_fwd,insertions_rev,stops,freq_stop,freq_stop_fwd,freq_stop_rev,stops_fwd,stops_rev,matches_ref,pos_critical_inserts,pos_critical_dels,homopolymeric,ref_base,cons_id,variant_position_english,variant_diagnosis" />
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
91 </when>
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
92 <when value="--no-english">
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
93 <action name="column_names" type="metadata" default="ref_id,start_position,length,VARIANT,gene_region,aa_position,stop_mismatches,stoploss_nt,reads_all,reads_fwd,reads_rev,deletions,freq_del,freq_del_fwd,freq_del_rev,deletions_fwd,deletions_rev,insertions,freq_insert,freq_insert_fwd,freq_insert_rev,insertions_fwd,insertions_rev,stops,freq_stop,freq_stop_fwd,freq_stop_rev,stops_fwd,stops_rev,matches_ref,pos_critical_inserts,pos_critical_dels,homopolymeric,ref_base,cons_id" />
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
94 </when>
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
95 </conditional>
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
96 </actions>
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
97 </data>
0
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
98 </outputs>
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
99 <tests>
2
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
100 <!-- Test data:
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
101 title: hCoV-19/Switzerland/GE-ETHZ-100339/2020
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
102 internal id: 100339_62_H07/20201002_J9279
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
103 ENA:
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
104 sample: SAMEA8673857 ERS6358378
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
105 experiment: ERX11049759
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
106 run: ERR11647777
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
107 -->
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
108 <!-- redo alignment from scratch by running MAFFT -->
0
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
109 <test>
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
110 <param name="consensus" value="consensus.bcftools.fasta.gz" />
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
111 <param name="input" value="REF_aln_trim.cram" />
2
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
112 <conditional name="align_data">
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
113 <param name="choice" value="mafft" />
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
114 </conditional>
1
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
115 <conditional name="ref_data">
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
116 <param name="choice" value="standard" />
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
117 </conditional>
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
118 <output name="report" value="frameshift_deletions_check.tsv" />
2
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
119 <assert_command>
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
120 <not_has_text text="--chain" />
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
121 </assert_command>
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
122 <assert_stderr>
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
123 <has_text text="mafft" />
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
124 </assert_stderr>
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
125 </test>
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
126 <!-- using information in .chain -->
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
127 <test>
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
128 <param name="consensus" value="consensus.bcftools_nogap.fasta.gz" />
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
129 <param name="input" value="REF_aln_trim.cram" />
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
130 <conditional name="align_data">
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
131 <param name="choice" value="chain" />
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
132 <param name="chain" value="consensus.bcftools_nogap.chain" />
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
133 </conditional>
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
134 <conditional name="ref_data">
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
135 <param name="choice" value="standard" />
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
136 </conditional>
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
137 <output name="report" value="frameshift_deletions_check.tsv" />
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
138 <assert_command>
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
139 <has_text text="--chain" />
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
140 </assert_command>
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
141 <assert_stderr>
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
142 <not_has_text text="mafft" />
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
143 </assert_stderr>
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
144 </test>
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
145 <!-- using information in .chain and consensus marked with gaps (bcftools consensus mark-del '-') -->
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
146 <test>
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
147 <param name="consensus" value="consensus.bcftools.fasta.gz" />
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
148 <param name="input" value="REF_aln_trim.cram" />
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
149 <conditional name="align_data">
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
150 <param name="choice" value="chain" />
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
151 <param name="chain" value="consensus.bcftools.chain" />
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
152 </conditional>
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
153 <conditional name="ref_data">
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
154 <param name="choice" value="standard" />
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
155 </conditional>
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
156 <output name="report" value="frameshift_deletions_check.tsv" />
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
157 <assert_command>
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
158 <has_text text="--chain" />
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
159 </assert_command>
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
160 <assert_stderr>
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
161 <not_has_text text="mafft" />
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
162 </assert_stderr>
1
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
163 </test>
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
164 <test>
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
165 <param name="consensus" value="consensus.bcftools.fasta.gz" />
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
166 <param name="input" value="REF_aln_trim.cram" />
2
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
167 <conditional name="align_data">
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
168 <param name="choice" value="chain" />
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
169 <param name="chain" value="consensus.bcftools.chain" />
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
170 </conditional>
1
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
171 <conditional name="ref_data">
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
172 <param name="choice" value="standard" />
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
173 </conditional>
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
174 <section name="out_options">
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
175 <param name="english" value="false" />
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
176 </section>
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
177 <output name="report" value="frameshift_deletions_check_no_english.tsv" />
2
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
178 <assert_command>
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
179 <has_text text="--chain" />
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
180 </assert_command>
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
181 <assert_stderr>
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
182 <not_has_text text="mafft" />
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
183 </assert_stderr>
1
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
184 </test>
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
185 <test>
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
186 <param name="consensus" value="consensus.bcftools.fasta.gz" />
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
187 <param name="input" value="REF_aln_trim.cram" />
2
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
188 <conditional name="align_data">
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
189 <param name="choice" value="chain" />
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
190 <param name="chain" value="consensus.bcftools.chain" />
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
191 </conditional>
1
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
192 <conditional name="ref_data">
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
193 <param name="choice" value="custom" />
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
194 <param name="reference" value="NC_045512.2.fasta" />
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
195 <param name="genes" value="Genes_NC_045512.2.GFF3" />
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
196 </conditional>
0
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
197 <output name="report" value="frameshift_deletions_check.tsv" />
2
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
198 <assert_command>
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
199 <has_text text="--chain" />
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
200 </assert_command>
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
201 <assert_stderr>
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
202 <not_has_text text="mafft" />
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
203 </assert_stderr>
0
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
204 </test>
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
205 </tests>
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
206 <help>
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
207 <![CDATA[
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
208 Produces a report about frameshifting indels in a consensus sequences.
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
209
2
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
210 The smallgenomeutilities are part of the `V-pipe workflow for analysing NGS data of short viral genomes <https://github.com/cbg-ethz/V-pipe>`_.
0
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
211
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
212 Columns signification:
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
213 ----------------------
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
214
2
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
215 * *ref_id* / *cons_id*: name of the sequence in the reference and consensus
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
216 * *start_position* / *length*: location of the variant
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
217 * *VARIANT*: one of: "insertion", "deletion", "stopgain" or "stoploss"
0
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
218 * *gene_region*: Gene in which the deletion is found according to ``--genes`` argument;
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
219 * *reads_all*: Total number of reads covering the indel;
1
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
220 * *reads_fwd*: Total number of forward reads covering the indel;
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
221 * *reads_rev*: Total number of reverse reads covering the indel;
2
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
222 * *deletions* / *insertions*: Number of reads supporting the deletion/insertion;
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
223 * *freq_del* / *freq_insert*: Fraction of reads supporting the deletion/insertion;
0
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
224 * *matches_ref*: number of reads that matche with the reference base;
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
225 * *pos_critical_inserts*: Start positions of insertions in the same gene_region that occur in > 40% of reads;
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
226 * *pos_critical_dels*: Start positions of deletions in the same gene_region that occur in > 40% of reads;
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
227 * *homopolymeric*: True if either around the start or end position of the deletion three bases are the same, which may have caused the polymerase to skip during reverse transcription of viral RNA to cDNA, e.g. AATAG;
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
228 * *ref_base*: base in the reference genome;
2
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
229 * *variant_position_english*: english sentence describing the indel or stop;
e8971ca74398 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit 2189ba7df6d90ed10c6fdb07df93545f8f282339
iuc
parents: 1
diff changeset
230 * *variant_diagnosis*: english sentence with the indel diagnosis
0
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
231 ]]>
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
232 </help>
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
233 <expand macro="citations"/>
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
234 </tool>