annotate bealign.xml @ 8:8a7462c0ac14 draft default tip

planemo upload for repository https://github.com/davebx/bioext-gx/ commit 473fd4bfc9bc6dc149978013545525529978b988
author iuc
date Sun, 25 Feb 2024 19:30:06 +0000
parents a07a2d9ddd42
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
d8b6f0adaa79 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 1
diff changeset
1 <tool id="bioext_bealign" name="Align sequences" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
0
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
2 <description>to a reference using a codon alignment algorithm</description>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
3 <macros>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
4 <import>macros.xml</import>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
5 </macros>
3
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
6 <expand macro="requirements">
8
8a7462c0ac14 planemo upload for repository https://github.com/davebx/bioext-gx/ commit 473fd4bfc9bc6dc149978013545525529978b988
iuc
parents: 7
diff changeset
7 <requirement type="package" version="5.3.0">gawk</requirement>
8a7462c0ac14 planemo upload for repository https://github.com/davebx/bioext-gx/ commit 473fd4bfc9bc6dc149978013545525529978b988
iuc
parents: 7
diff changeset
8 <requirement type="package" version="1.19.2">samtools</requirement>
3
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
9 </expand>
0
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
10 <version_command>bealign --version</version_command>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
11 <command detect_errors="exit_code">
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
12 <![CDATA[
1
f9b72a376ec9 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit 9a163dd8880c14f371e2603389f4951881a74b25"
iuc
parents: 0
diff changeset
13 ## Some downstream tools, such as the TN-93 clustering tool and RAxML, might
f9b72a376ec9 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit 9a163dd8880c14f371e2603389f4951881a74b25"
iuc
parents: 0
diff changeset
14 ## break if there are non-standard characters in the sequences or text other
f9b72a376ec9 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit 9a163dd8880c14f371e2603389f4951881a74b25"
iuc
parents: 0
diff changeset
15 ## than alphanumerics in the sequence names, so we run the input dataset
f9b72a376ec9 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit 9a163dd8880c14f371e2603389f4951881a74b25"
iuc
parents: 0
diff changeset
16 ## through a simple awk script to remove any non-IUPAC-standard nucleotides
f9b72a376ec9 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit 9a163dd8880c14f371e2603389f4951881a74b25"
iuc
parents: 0
diff changeset
17 ## and replace any unwanted characters in the sequence names with underscores.
f9b72a376ec9 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit 9a163dd8880c14f371e2603389f4951881a74b25"
iuc
parents: 0
diff changeset
18 ## This should not affect the actual alignment, since any non-standard character
f9b72a376ec9 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit 9a163dd8880c14f371e2603389f4951881a74b25"
iuc
parents: 0
diff changeset
19 ## in the sequences is already ignored, but the possibility remains.
4
a287431cdf4f "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c9002fa57e4d800f2c1c8d1dafbceb7681b0fcc2"
iuc
parents: 3
diff changeset
20 set -o pipefail;
3
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
21 cat '$input' @SANITIZE@ reads.fa &&
4
a287431cdf4f "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c9002fa57e4d800f2c1c8d1dafbceb7681b0fcc2"
iuc
parents: 3
diff changeset
22 ## bealign's parallel job executor uses the NCPU env variable
a287431cdf4f "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c9002fa57e4d800f2c1c8d1dafbceb7681b0fcc2"
iuc
parents: 3
diff changeset
23 NCPU=\${GALAXY_SLOTS:-2} bealign --reference '$select_reference.reference' --alphabet $advanced.alphabet
0
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
24 #if $advanced.expected_identity:
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
25 --expected-identity $advanced.expected_identity
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
26 #end if
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
27 #if $advanced.discard:
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
28 $advanced.discard '$advanced.discarded_reads'
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
29 #end if
3
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
30 --score-matrix $advanced.score_matrix
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
31 $advanced.reverse_complement
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
32 $advanced.keep_reference
4
a287431cdf4f "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c9002fa57e4d800f2c1c8d1dafbceb7681b0fcc2"
iuc
parents: 3
diff changeset
33 ## bypass bealign's internal pysam-based, single-threaded BAM sorting
a287431cdf4f "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c9002fa57e4d800f2c1c8d1dafbceb7681b0fcc2"
iuc
parents: 3
diff changeset
34 --no-sort
a287431cdf4f "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c9002fa57e4d800f2c1c8d1dafbceb7681b0fcc2"
iuc
parents: 3
diff changeset
35 reads.fa bealign_out.bam &&
a287431cdf4f "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c9002fa57e4d800f2c1c8d1dafbceb7681b0fcc2"
iuc
parents: 3
diff changeset
36 samtools sort -@\${GALAXY_SLOTS:-2} -T "\${TMPDIR:-.}" -O bam -o '$output' bealign_out.bam
a287431cdf4f "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c9002fa57e4d800f2c1c8d1dafbceb7681b0fcc2"
iuc
parents: 3
diff changeset
37 #set $input_background = False
a287431cdf4f "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c9002fa57e4d800f2c1c8d1dafbceb7681b0fcc2"
iuc
parents: 3
diff changeset
38 #if $background_source.selection == 'history':
a287431cdf4f "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c9002fa57e4d800f2c1c8d1dafbceb7681b0fcc2"
iuc
parents: 3
diff changeset
39 #if $background_source.sequences:
a287431cdf4f "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c9002fa57e4d800f2c1c8d1dafbceb7681b0fcc2"
iuc
parents: 3
diff changeset
40 #set $input_background = $background_source.sequences
a287431cdf4f "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c9002fa57e4d800f2c1c8d1dafbceb7681b0fcc2"
iuc
parents: 3
diff changeset
41 #end if
a287431cdf4f "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c9002fa57e4d800f2c1c8d1dafbceb7681b0fcc2"
iuc
parents: 3
diff changeset
42 #else:
a287431cdf4f "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c9002fa57e4d800f2c1c8d1dafbceb7681b0fcc2"
iuc
parents: 3
diff changeset
43 #if $background_source.sequences:
a287431cdf4f "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c9002fa57e4d800f2c1c8d1dafbceb7681b0fcc2"
iuc
parents: 3
diff changeset
44 #set $input_background = $background_source.sequences.fields.path
3
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
45 #end if
4
a287431cdf4f "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c9002fa57e4d800f2c1c8d1dafbceb7681b0fcc2"
iuc
parents: 3
diff changeset
46 #end if
a287431cdf4f "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c9002fa57e4d800f2c1c8d1dafbceb7681b0fcc2"
iuc
parents: 3
diff changeset
47 #if $input_background:
a287431cdf4f "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c9002fa57e4d800f2c1c8d1dafbceb7681b0fcc2"
iuc
parents: 3
diff changeset
48 && cat '$input_background' @SANITIZE@ background.fa &&
a287431cdf4f "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c9002fa57e4d800f2c1c8d1dafbceb7681b0fcc2"
iuc
parents: 3
diff changeset
49 NCPU=\${GALAXY_SLOTS:-2} bealign --reference '$select_reference.reference' --alphabet $advanced.alphabet
a287431cdf4f "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c9002fa57e4d800f2c1c8d1dafbceb7681b0fcc2"
iuc
parents: 3
diff changeset
50 #if $advanced.expected_identity:
a287431cdf4f "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c9002fa57e4d800f2c1c8d1dafbceb7681b0fcc2"
iuc
parents: 3
diff changeset
51 --expected-identity $advanced.expected_identity
3
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
52 #end if
4
a287431cdf4f "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c9002fa57e4d800f2c1c8d1dafbceb7681b0fcc2"
iuc
parents: 3
diff changeset
53 --keep-reference --score-matrix $advanced.score_matrix $advanced.reverse_complement
a287431cdf4f "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c9002fa57e4d800f2c1c8d1dafbceb7681b0fcc2"
iuc
parents: 3
diff changeset
54 ## bypass bealign's internal pysam-based, single-threaded BAM sorting
a287431cdf4f "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c9002fa57e4d800f2c1c8d1dafbceb7681b0fcc2"
iuc
parents: 3
diff changeset
55 --no-sort
a287431cdf4f "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c9002fa57e4d800f2c1c8d1dafbceb7681b0fcc2"
iuc
parents: 3
diff changeset
56 background.fa bealign_background.bam &&
a287431cdf4f "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c9002fa57e4d800f2c1c8d1dafbceb7681b0fcc2"
iuc
parents: 3
diff changeset
57 samtools sort -@\${GALAXY_SLOTS:-2} -T "\${TMPDIR:-.}" -O bam -o '$background' bealign_background.bam
a287431cdf4f "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c9002fa57e4d800f2c1c8d1dafbceb7681b0fcc2"
iuc
parents: 3
diff changeset
58 #end if
3
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
59 #set $reference_name = str($select_reference.reference)
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
60 #if $select_reference.reference_type == 'preset' and $select_reference.save_reference:
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
61 && python '$__tool_directory__/copy_reference.py' --reference '$reference_name' --dataset '$saved_reference'
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
62 #end if
0
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
63 ]]>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
64 </command>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
65 <inputs>
1
f9b72a376ec9 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit 9a163dd8880c14f371e2603389f4951881a74b25"
iuc
parents: 0
diff changeset
66 <param name="input" type="data" format="fasta" label="Input reads" help="For the benefit of certain tools that depend on this aligner, such as the TN-93 clustering tool, this dataset's sequence names will have non-alphanumeric characters replaced with underscores, and the sequences will be restricted to the set of IUPAC nucleotide characters." />
0
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
67 <conditional name="select_reference">
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
68 <param name="reference_type" type="select">
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
69 <option value="preset">Select preset</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
70 <option value="dataset">Use a history dataset</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
71 </param>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
72 <when value="preset">
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
73 <param argument="--reference" type="select">
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
74 <option value="HXB2_tat">HXB2 tat</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
75 <option value="HXB2_gag">HXB2 gag</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
76 <option value="HXB2_pol">HXB2 polymerase</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
77 <option value="HXB2_int">HXB2 integrase</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
78 <option value="HXB2_vif">HXB2 vif</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
79 <option value="HXB2_pr">HXB2 protease</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
80 <option value="HXB2_vpr">HXB2 vpr</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
81 <option value="NL4-3_prrt">NL4-3 protease and reverse transcriptase</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
82 <option value="HXB2_nef">HXB2 nef</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
83 <option value="HXB2_env">HXB2 envelope</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
84 <option value="HXB2_rt">HXB2 reverse transcriptase</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
85 <option value="HXB2_prrt">HXB2 protease and reverse transcriptase</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
86 <option value="HXB2_rev">HXB2 rev</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
87 <option value="HXB2_vpu">HXB2 vpu</option>
2
d8b6f0adaa79 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 1
diff changeset
88 <option value="CoV2-3C">SARS-CoV-2: 3C</option>
d8b6f0adaa79 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 1
diff changeset
89 <option value="CoV2-S">SARS-CoV-2: Spike</option>
d8b6f0adaa79 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 1
diff changeset
90 <option value="CoV2-E">SARS-CoV-2: Envelope</option>
d8b6f0adaa79 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 1
diff changeset
91 <option value="CoV2-M">SARS-CoV-2: Membrane</option>
d8b6f0adaa79 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 1
diff changeset
92 <option value="CoV2-N">SARS-CoV-2: Nucleoprotein</option>
d8b6f0adaa79 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 1
diff changeset
93 <option value="CoV2-endornase">SARS-CoV-2: endornase</option>
d8b6f0adaa79 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 1
diff changeset
94 <option value="CoV2-exonuclease">SARS-CoV-2: exonuclease</option>
d8b6f0adaa79 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 1
diff changeset
95 <option value="CoV2-helicase">SARS-CoV-2: helicase</option>
d8b6f0adaa79 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 1
diff changeset
96 <option value="CoV2-leader">SARS-CoV-2: leader</option>
d8b6f0adaa79 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 1
diff changeset
97 <option value="CoV2-methyltransferase">SARS-CoV-2: methyltransferase</option>
d8b6f0adaa79 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 1
diff changeset
98 <option value="CoV2-nsp2">SARS-CoV-2: nsp2</option>
d8b6f0adaa79 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 1
diff changeset
99 <option value="CoV2-nsp3">SARS-CoV-2: nsp3</option>
d8b6f0adaa79 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 1
diff changeset
100 <option value="CoV2-nsp4">SARS-CoV-2: nsp4</option>
d8b6f0adaa79 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 1
diff changeset
101 <option value="CoV2-nsp6">SARS-CoV-2: nsp6</option>
d8b6f0adaa79 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 1
diff changeset
102 <option value="CoV2-nsp7">SARS-CoV-2: nsp7</option>
d8b6f0adaa79 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 1
diff changeset
103 <option value="CoV2-nsp8">SARS-CoV-2: nsp8</option>
d8b6f0adaa79 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 1
diff changeset
104 <option value="CoV2-nsp9">SARS-CoV-2: nsp9</option>
d8b6f0adaa79 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 1
diff changeset
105 <option value="CoV2-nsp10">SARS-CoV-2: nsp10</option>
d8b6f0adaa79 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 1
diff changeset
106 <option value="CoV2-ORF1a">SARS-CoV-2: ORF1a</option>
d8b6f0adaa79 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 1
diff changeset
107 <option value="CoV2-ORF1b">SARS-CoV-2: ORF1b</option>
d8b6f0adaa79 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 1
diff changeset
108 <option value="CoV2-ORF3a">SARS-CoV-2: ORF3a</option>
d8b6f0adaa79 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 1
diff changeset
109 <option value="CoV2-ORF5">SARS-CoV-2: ORF5</option>
d8b6f0adaa79 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 1
diff changeset
110 <option value="CoV2-ORF6">SARS-CoV-2: ORF6</option>
d8b6f0adaa79 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 1
diff changeset
111 <option value="CoV2-ORF7a">SARS-CoV-2: ORF7a</option>
d8b6f0adaa79 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 1
diff changeset
112 <option value="CoV2-ORF7b">SARS-CoV-2: ORF7b</option>
d8b6f0adaa79 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 1
diff changeset
113 <option value="CoV2-ORF8">SARS-CoV-2: ORF8</option>
d8b6f0adaa79 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 1
diff changeset
114 <option value="CoV2-ORF10">SARS-CoV-2: ORF10</option>
d8b6f0adaa79 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 1
diff changeset
115 <option value="CoV2-RdRp">SARS-CoV-2: RNA-dependent RNA polymerase</option>
0
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
116 </param>
3
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
117 <param name="save_reference" type="boolean" display="radio" label="Save this reference to your history" />
0
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
118 </when>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
119 <when value="dataset">
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
120 <param argument="--reference" type="data" format="fasta" label="Reference sequences" />
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
121 </when>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
122 </conditional>
3
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
123 <conditional name="background_source">
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
124 <param name="selection" type="select" label="Source for the background" help="You can use a predefined background cached on this Galaxy server or select a dataset from your history">
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
125 <option value="data_table">Use a predefined background</option>
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
126 <option value="history">Select a dataset from your history</option>
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
127 </param>
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
128 <when value="data_table">
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
129 <param name="sequences" type="select" optional="true" label="Select sequences from data table">
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
130 <options from_data_table="bealign_selection" />
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
131 </param>
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
132 </when>
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
133 <when value="history">
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
134 <param name="sequences" type="data" format="fasta" optional="true" label="Select dataset with sequences" />
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
135 </when>
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
136 </conditional>
0
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
137 <section name="advanced" title="Advanced options" expanded="False">
3
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
138 <param argument="--expected-identity" type="float" min="0" max="1" optional="True" label="Discard sequences that are insufficiently identical to the reference" />
0
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
139 <param argument="--alphabet" type="select" label="Alphabet to use for alignment">
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
140 <option value="codon" selected="True">Codon</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
141 <option value="dna">DNA</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
142 <option value="amino">Amino acids</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
143 </param>
8
8a7462c0ac14 planemo upload for repository https://github.com/davebx/bioext-gx/ commit 473fd4bfc9bc6dc149978013545525529978b988
iuc
parents: 7
diff changeset
144 <param argument="--score-matrix" type="select" label="Parametrize using score matrix">
0
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
145 <option value="BLOSUM62" selected="True">Blocks substitution</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
146 <option value="DNA65">DNA, 65% expected identity</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
147 <option value="DNA70">DNA, 70% expected identity</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
148 <option value="DNA88">DNA, 88% expected identity</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
149 <option value="DNA80">DNA, 80% expected identity</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
150 <option value="DNA95">DNA, 95% expected identity</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
151 <option value="PAM200">PAM 200 substitution</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
152 <option value="PAM250">PAM 250 substitution</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
153 <option value="HIV_BETWEEN_F">HIV between+F</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
154 </param>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
155 <param argument="--discard" type="boolean" checked="False" truevalue="--discard" falsevalue="" label="Output discarded sequences to a separate dataset" />
8
8a7462c0ac14 planemo upload for repository https://github.com/davebx/bioext-gx/ commit 473fd4bfc9bc6dc149978013545525529978b988
iuc
parents: 7
diff changeset
156 <param argument="--reverse-complement" type="boolean" checked="False" truevalue="--reverse-complement" falsevalue="" label="Also try to align against reverse complement of reference" />
8a7462c0ac14 planemo upload for repository https://github.com/davebx/bioext-gx/ commit 473fd4bfc9bc6dc149978013545525529978b988
iuc
parents: 7
diff changeset
157 <param argument="--keep-reference" type="boolean" checked="False" truevalue="--keep-reference" falsevalue="" label="Include reference as first sequence in aligned BAM" />
0
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
158 </section>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
159 </inputs>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
160 <outputs>
3
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
161 <data name="output" format="bam" label="${tool.name} on ${on_string} - Aligned Sequences" />
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
162 <data name="background" format="bam" label="${tool.name} on ${on_string} - Background" >
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
163 <filter>background_source['sequences']</filter>
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
164 </data>
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
165 <data name="saved_reference" format="fasta" label="${tool.name} on ${on_string} - Reference" >
8
8a7462c0ac14 planemo upload for repository https://github.com/davebx/bioext-gx/ commit 473fd4bfc9bc6dc149978013545525529978b988
iuc
parents: 7
diff changeset
166 <filter>select_reference['reference_type'] == 'preset' and select_reference['save_reference']</filter>
3
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
167 </data>
0
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
168 <data name="discarded_reads" format="fasta">
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
169 <filter>advanced['discard']</filter>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
170 </data>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
171 </outputs>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
172 <tests>
8
8a7462c0ac14 planemo upload for repository https://github.com/davebx/bioext-gx/ commit 473fd4bfc9bc6dc149978013545525529978b988
iuc
parents: 7
diff changeset
173 <test expect_num_outputs="1">
3
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
174 <param name="input" ftype="fasta" value="query.fa" />
0
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
175 <param name="reference_type" value="dataset" />
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
176 <param name="score_matrix" value="HIV_BETWEEN_F" />
3
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
177 <param name="reference" ftype="fasta" value="reference.fa" />
2
d8b6f0adaa79 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 1
diff changeset
178 <output name="output" file="bealign-out1.bam" ftype="bam" lines_diff="2" />
0
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
179 </test>
8
8a7462c0ac14 planemo upload for repository https://github.com/davebx/bioext-gx/ commit 473fd4bfc9bc6dc149978013545525529978b988
iuc
parents: 7
diff changeset
180 <test expect_num_outputs="1">
3
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
181 <param name="input" ftype="fasta" value="query.fa" />
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
182 <param name="reference_type" value="preset" />
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
183 <param name="reference" value="CoV2-nsp8" />
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
184 <param name="score_matrix" value="HIV_BETWEEN_F" />
2
d8b6f0adaa79 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 1
diff changeset
185 <output name="output" file="bealign-out2.bam" ftype="bam" lines_diff="2"/>
0
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
186 </test>
3
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
187 <test expect_num_outputs="2">
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
188 <param name="input" ftype="fasta" value="query.fa" />
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
189 <param name="reference_type" value="preset" />
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
190 <param name="reference" value="CoV2-nsp8" />
7
a07a2d9ddd42 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit e661c4b493283da980467b0f11c5deea54a83226"
iuc
parents: 5
diff changeset
191 <conditional name="background_source">
a07a2d9ddd42 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit e661c4b493283da980467b0f11c5deea54a83226"
iuc
parents: 5
diff changeset
192 <param name="selection" value="data_table" />
a07a2d9ddd42 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit e661c4b493283da980467b0f11c5deea54a83226"
iuc
parents: 5
diff changeset
193 </conditional>
3
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
194 <param name="sequences" value="CoV2-nsp8" />
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
195 <param name="alphabet" value="codon" />
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
196 <param name="score_matrix" value="HIV_BETWEEN_F" />
2
d8b6f0adaa79 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 1
diff changeset
197 <output name="output" file="bealign-out3.bam" ftype="bam" lines_diff="2"/>
3
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
198 <output name="background" file="bealign-out3-background.bam" ftype="bam" lines_diff="2"/>
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
199 </test>
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
200 <test expect_num_outputs="2">
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
201 <param name="input" ftype="fasta" value="query.fa" />
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
202 <param name="reference_type" value="preset" />
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
203 <param name="reference" value="CoV2-nsp8" />
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
204 <param name="save_reference" value="true" />
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
205 <param name="alphabet" value="codon" />
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
206 <param name="score_matrix" value="HIV_BETWEEN_F" />
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
207 <output name="output" file="bealign-out4.bam" ftype="bam" lines_diff="2"/>
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
208 <output name="saved_reference" file="reference.fa" ftype="fasta"/>
0
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
209 </test>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
210 </tests>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
211 <help>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
212 <![CDATA[
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
213 bealign
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
214 -------
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
215
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
216 Align sequences to a reference using a codon alignment algorithm.
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
217
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
218 NOTES
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
219 -----
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
220
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
221 Reference can be one of the presets or a custom history reference.
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
222 ]]></help>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
223 <expand macro="citations"/>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
224 </tool>