annotate frameshift_deletions_checks.xml @ 1:029d90b0c4f6 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
author iuc
date Fri, 14 Jul 2023 22:07:22 +0000
parents f079716f598c
children e8971ca74398
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>
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
10 <!-- once we have version-from-git-tag in 0.4.0: <version_command>frameshift_deletion_checks &#x002D&#x002Dversion</version_command> -->
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
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
33 #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
34 --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
35 --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
36 #else:
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
37 --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
38 --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
39 #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
40 $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
41 $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
42 --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
43 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
44 ]]>
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
45 <!-- ##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
46 </command>
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
47 <inputs>
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
48 <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
49 <param argument="--input" type="data" format="bam,cram" label="Input BAM" help="Input BAM file with sample's sequencing reads, aligned against the reference" />
1
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
50 <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
51 <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
52 <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
53 <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
54 </param>
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
55 <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
56 <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
57 <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
58 <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
59 <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
60 <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
61 </param>
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
62 </when>
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
63 </conditional>
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
64 <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
65 <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
66 <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
67 </section>
0
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
68 </inputs>
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
69 <outputs>
1
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
70 <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
71 <actions>
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
72 <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
73 <!-- The "english" flag removes certain numerical columns and collapses them into new text columns -->
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
74 <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
75 <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
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 <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
78 <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
79 </when>
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
80 </conditional>
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
81 </actions>
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
82 </data>
0
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
83 </outputs>
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
84 <tests>
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
85 <test>
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
86 <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
87 <param name="input" value="REF_aln_trim.cram" />
1
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
88 <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
89 <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
90 </conditional>
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
91 <output name="report" value="frameshift_deletions_check.tsv" />
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
92 </test>
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
93 <test>
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
94 <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
95 <param name="input" value="REF_aln_trim.cram" />
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
96 <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
97 <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
98 </conditional>
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
99 <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
100 <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
101 </section>
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
102 <output name="report" value="frameshift_deletions_check_no_english.tsv" />
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
103 </test>
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
104 <test>
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
105 <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
106 <param name="input" value="REF_aln_trim.cram" />
029d90b0c4f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit e702dcdbc7c3235ef3c4ee8998c7247d1af49465
iuc
parents: 0
diff changeset
107 <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
108 <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
109 <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
110 <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
111 </conditional>
0
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
112 <output name="report" value="frameshift_deletions_check.tsv" />
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
113 </test>
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
114 </tests>
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
115 <help>
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
116 <![CDATA[
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
117 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
118
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
119 Developed as part of the `V-pipe workflow for analysing NGS data of short viral genomes <https://github.com/cbg-ethz/V-pipe>`_.
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
120
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
121 Columns signification:
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
122 ----------------------
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
123
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
124 * *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
125 * *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
126 * *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
127 * *reads_rev*: Total number of reverse reads covering the indel;
0
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
128 * *deletions/insertions*: Number of reads supporting the deletion/insertion;
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
129 * *freq_del/freq_insert*: Fraction of reads supporting the deletion/insertion;
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
130 * *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
131 * *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
132 * *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
133 * *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
134 * *ref_base*: base in the reference genome;
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
135 * *indel_position_english*: english sentence describing the indel;
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
136 * *indel_diagnosis*: english sentence with the indel diagnosis;
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
137 * *orf1ab*: CDS ID for the full Orf1ab CDS, comprising the ribosomal shift. In the GFF this CDS should consist of 2 entries with the same CDS ID due to the parital overlap caused by the ribosomal shift at translation time
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
138 ]]>
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
139 </help>
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
140 <expand macro="citations"/>
f079716f598c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/smallgenomeutilities commit f6d1be0a6643389820c4622d4cb996ac03531107
iuc
parents:
diff changeset
141 </tool>