annotate bealign.xml @ 7:a07a2d9ddd42 draft

"planemo upload for repository https://github.com/davebx/bioext-gx/ commit e661c4b493283da980467b0f11c5deea54a83226"
author iuc
date Sat, 27 Nov 2021 10:07:57 +0000
parents c239e93d9f04
children 8a7462c0ac14
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
1 <?xml version="1.0"?>
2
d8b6f0adaa79 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 1
diff changeset
2 <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
3 <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
4 <macros>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
5 <import>macros.xml</import>
5
c239e93d9f04 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c21521441846e419a69366ee10a30aa828573095"
iuc
parents: 4
diff changeset
6 <token name="@VERSION_SUFFIX@">0</token>
0
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
7 </macros>
3
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
8 <expand macro="requirements">
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
9 <requirement type="package" version="5.1.0">gawk</requirement>
5
c239e93d9f04 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c21521441846e419a69366ee10a30aa828573095"
iuc
parents: 4
diff changeset
10 <requirement type="package" version="1.14">samtools</requirement>
3
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
11 </expand>
0
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
12 <version_command>bealign --version</version_command>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
13 <command detect_errors="exit_code">
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
14 <![CDATA[
1
f9b72a376ec9 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit 9a163dd8880c14f371e2603389f4951881a74b25"
iuc
parents: 0
diff changeset
15 ## 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
16 ## 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
17 ## 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
18 ## 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
19 ## 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
20 ## 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
21 ## 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
22 set -o pipefail;
3
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
23 cat '$input' @SANITIZE@ reads.fa &&
4
a287431cdf4f "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c9002fa57e4d800f2c1c8d1dafbceb7681b0fcc2"
iuc
parents: 3
diff changeset
24 ## 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
25 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
26 #if $advanced.expected_identity:
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
27 --expected-identity $advanced.expected_identity
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
28 #end if
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
29 #if $advanced.discard:
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
30 $advanced.discard '$advanced.discarded_reads'
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
31 #end if
3
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
32 --score-matrix $advanced.score_matrix
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
33 $advanced.reverse_complement
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
34 $advanced.keep_reference
4
a287431cdf4f "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c9002fa57e4d800f2c1c8d1dafbceb7681b0fcc2"
iuc
parents: 3
diff changeset
35 ## 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
36 --no-sort
a287431cdf4f "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c9002fa57e4d800f2c1c8d1dafbceb7681b0fcc2"
iuc
parents: 3
diff changeset
37 reads.fa bealign_out.bam &&
a287431cdf4f "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c9002fa57e4d800f2c1c8d1dafbceb7681b0fcc2"
iuc
parents: 3
diff changeset
38 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
39 #set $input_background = False
a287431cdf4f "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c9002fa57e4d800f2c1c8d1dafbceb7681b0fcc2"
iuc
parents: 3
diff changeset
40 #if $background_source.selection == 'history':
a287431cdf4f "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c9002fa57e4d800f2c1c8d1dafbceb7681b0fcc2"
iuc
parents: 3
diff changeset
41 #if $background_source.sequences:
a287431cdf4f "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c9002fa57e4d800f2c1c8d1dafbceb7681b0fcc2"
iuc
parents: 3
diff changeset
42 #set $input_background = $background_source.sequences
a287431cdf4f "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c9002fa57e4d800f2c1c8d1dafbceb7681b0fcc2"
iuc
parents: 3
diff changeset
43 #end if
a287431cdf4f "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c9002fa57e4d800f2c1c8d1dafbceb7681b0fcc2"
iuc
parents: 3
diff changeset
44 #else:
a287431cdf4f "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c9002fa57e4d800f2c1c8d1dafbceb7681b0fcc2"
iuc
parents: 3
diff changeset
45 #if $background_source.sequences:
a287431cdf4f "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c9002fa57e4d800f2c1c8d1dafbceb7681b0fcc2"
iuc
parents: 3
diff changeset
46 #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
47 #end if
4
a287431cdf4f "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c9002fa57e4d800f2c1c8d1dafbceb7681b0fcc2"
iuc
parents: 3
diff changeset
48 #end if
a287431cdf4f "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c9002fa57e4d800f2c1c8d1dafbceb7681b0fcc2"
iuc
parents: 3
diff changeset
49 #if $input_background:
a287431cdf4f "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c9002fa57e4d800f2c1c8d1dafbceb7681b0fcc2"
iuc
parents: 3
diff changeset
50 && cat '$input_background' @SANITIZE@ background.fa &&
a287431cdf4f "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c9002fa57e4d800f2c1c8d1dafbceb7681b0fcc2"
iuc
parents: 3
diff changeset
51 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
52 #if $advanced.expected_identity:
a287431cdf4f "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c9002fa57e4d800f2c1c8d1dafbceb7681b0fcc2"
iuc
parents: 3
diff changeset
53 --expected-identity $advanced.expected_identity
3
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
54 #end if
4
a287431cdf4f "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c9002fa57e4d800f2c1c8d1dafbceb7681b0fcc2"
iuc
parents: 3
diff changeset
55 --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
56 ## 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
57 --no-sort
a287431cdf4f "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c9002fa57e4d800f2c1c8d1dafbceb7681b0fcc2"
iuc
parents: 3
diff changeset
58 background.fa bealign_background.bam &&
a287431cdf4f "planemo upload for repository https://github.com/davebx/bioext-gx/ commit c9002fa57e4d800f2c1c8d1dafbceb7681b0fcc2"
iuc
parents: 3
diff changeset
59 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
60 #end if
3
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
61 #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
62 #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
63 && 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
64 #end if
0
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
65 ]]>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
66 </command>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
67 <inputs>
1
f9b72a376ec9 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit 9a163dd8880c14f371e2603389f4951881a74b25"
iuc
parents: 0
diff changeset
68 <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
69 <conditional name="select_reference">
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
70 <param name="reference_type" type="select">
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
71 <option value="preset">Select preset</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
72 <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
73 </param>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
74 <when value="preset">
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
75 <param argument="--reference" type="select">
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
76 <option value="HXB2_tat">HXB2 tat</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
77 <option value="HXB2_gag">HXB2 gag</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
78 <option value="HXB2_pol">HXB2 polymerase</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
79 <option value="HXB2_int">HXB2 integrase</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
80 <option value="HXB2_vif">HXB2 vif</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
81 <option value="HXB2_pr">HXB2 protease</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
82 <option value="HXB2_vpr">HXB2 vpr</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
83 <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
84 <option value="HXB2_nef">HXB2 nef</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
85 <option value="HXB2_env">HXB2 envelope</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
86 <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
87 <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
88 <option value="HXB2_rev">HXB2 rev</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
89 <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
90 <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
91 <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
92 <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
93 <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
94 <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
95 <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
96 <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
97 <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
98 <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
99 <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
100 <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
101 <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
102 <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
103 <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
104 <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
105 <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
106 <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
107 <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
108 <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
109 <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
110 <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
111 <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
112 <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
113 <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
114 <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
115 <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
116 <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
117 <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
118 </param>
3
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
119 <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
120 </when>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
121 <when value="dataset">
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
122 <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
123 </when>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
124 </conditional>
3
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
125 <conditional name="background_source">
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
126 <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
127 <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
128 <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
129 </param>
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
130 <when value="data_table">
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
131 <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
132 <options from_data_table="bealign_selection" />
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
133 </param>
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
134 </when>
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
135 <when value="history">
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
136 <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
137 </when>
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
138 </conditional>
0
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
139 <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
140 <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
141 <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
142 <option value="codon" selected="True">Codon</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
143 <option value="dna">DNA</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
144 <option value="amino">Amino acids</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
145 </param>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
146 <param name="score_matrix" argument="--score-matrix" type="select" label="Parametrize using score matrix">
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
147 <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
148 <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
149 <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
150 <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
151 <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
152 <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
153 <option value="PAM200">PAM 200 substitution</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
154 <option value="PAM250">PAM 250 substitution</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
155 <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
156 </param>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
157 <param argument="--discard" type="boolean" checked="False" truevalue="--discard" falsevalue="" label="Output discarded sequences to a separate dataset" />
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
158 <param name="reverse_complement" argument="--reverse-complement" type="boolean" checked="False" truevalue="--reverse-complement" falsevalue="" label="Also try to align against reverse complement of reference" />
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
159 <param name="keep_reference" argument="--keep-reference" type="boolean" checked="False" truevalue="--keep-reference" falsevalue="" label="Include reference as first sequence in aligned BAM" />
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
160 </section>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
161 </inputs>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
162 <outputs>
3
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
163 <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
164 <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
165 <filter>background_source['sequences']</filter>
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
166 </data>
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
167 <data name="saved_reference" format="fasta" label="${tool.name} on ${on_string} - Reference" >
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
168 <filter>select_reference['save_reference']</filter>
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
169 </data>
0
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
170 <data name="discarded_reads" format="fasta">
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
171 <filter>advanced['discard']</filter>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
172 </data>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
173 </outputs>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
174 <tests>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
175 <test>
3
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
176 <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
177 <param name="reference_type" value="dataset" />
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
178 <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
179 <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
180 <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
181 </test>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
182 <test>
3
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
183 <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
184 <param name="reference_type" value="preset" />
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
185 <param name="reference" value="CoV2-nsp8" />
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
186 <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
187 <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
188 </test>
3
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
189 <test expect_num_outputs="2">
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
190 <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
191 <param name="reference_type" value="preset" />
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
192 <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
193 <conditional name="background_source">
a07a2d9ddd42 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit e661c4b493283da980467b0f11c5deea54a83226"
iuc
parents: 5
diff changeset
194 <param name="selection" value="data_table" />
a07a2d9ddd42 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit e661c4b493283da980467b0f11c5deea54a83226"
iuc
parents: 5
diff changeset
195 </conditional>
3
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
196 <param name="sequences" value="CoV2-nsp8" />
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
197 <param name="alphabet" value="codon" />
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
198 <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
199 <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
200 <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
201 </test>
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
202 <test expect_num_outputs="2">
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
203 <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
204 <param name="reference_type" value="preset" />
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
205 <param name="reference" value="CoV2-nsp8" />
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
206 <param name="save_reference" value="true" />
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
207 <param name="alphabet" value="codon" />
fb4975b507c6 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
208 <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
209 <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
210 <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
211 </test>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
212 </tests>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
213 <help>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
214 <![CDATA[
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
215 bealign
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
216 -------
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 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
219
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
220 NOTES
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
221 -----
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
222
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
223 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
224 ]]></help>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
225 <expand macro="citations"/>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
226 </tool>