annotate bealign.xml @ 2:d8b6f0adaa79 draft

"planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
author iuc
date Fri, 09 Jul 2021 15:19:05 +0000
parents f9b72a376ec9
children fb4975b507c6
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>
2
d8b6f0adaa79 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 1
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>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
8 <expand macro="requirements" />
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
9 <version_command>bealign --version</version_command>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
10 <command detect_errors="exit_code">
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
11 <![CDATA[
1
f9b72a376ec9 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit 9a163dd8880c14f371e2603389f4951881a74b25"
iuc
parents: 0
diff changeset
12 ## 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
13 ## 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
14 ## 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
15 ## 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
16 ## 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
17 ## 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
18 ## in the sequences is already ignored, but the possibility remains.
f9b72a376ec9 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit 9a163dd8880c14f371e2603389f4951881a74b25"
iuc
parents: 0
diff changeset
19 cat '$input' | awk '{ if (\$0 ~ "^[^>]") {a = gensub(/[^ACGTURYKMSWBDHVNacgturykmswbdhvn?-]/, "", "g"); } else {a=gensub(/[^>A-Za-z0-9_]/, "_", "g"); }; print a } ' |
f9b72a376ec9 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit 9a163dd8880c14f371e2603389f4951881a74b25"
iuc
parents: 0
diff changeset
20 sed 's,_\\+,_,g' > reads.fa &&
0
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
21 bealign --reference '$select_reference.reference' --alphabet $advanced.alphabet
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
22 #if $advanced.expected_identity:
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
23 --expected-identity $advanced.expected_identity
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
24 #end if
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
25 --score-matrix $advanced.score_matrix $advanced.reverse_complement $advanced.keep_reference
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
26 #if $advanced.discard:
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
27 $advanced.discard '$advanced.discarded_reads'
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
28 #end if
1
f9b72a376ec9 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit 9a163dd8880c14f371e2603389f4951881a74b25"
iuc
parents: 0
diff changeset
29 reads.fa alignment.bam
0
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
30 ]]>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
31 </command>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
32 <inputs>
1
f9b72a376ec9 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit 9a163dd8880c14f371e2603389f4951881a74b25"
iuc
parents: 0
diff changeset
33 <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
34 <conditional name="select_reference">
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
35 <param name="reference_type" type="select">
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
36 <option value="preset">Select preset</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
37 <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
38 </param>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
39 <when value="preset">
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
40 <param argument="--reference" type="select">
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
41 <option value="HXB2_tat">HXB2 tat</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
42 <option value="HXB2_gag">HXB2 gag</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
43 <option value="HXB2_pol">HXB2 polymerase</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
44 <option value="HXB2_int">HXB2 integrase</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
45 <option value="HXB2_vif">HXB2 vif</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
46 <option value="HXB2_pr">HXB2 protease</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
47 <option value="HXB2_vpr">HXB2 vpr</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
48 <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
49 <option value="HXB2_nef">HXB2 nef</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
50 <option value="HXB2_env">HXB2 envelope</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
51 <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
52 <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
53 <option value="HXB2_rev">HXB2 rev</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
54 <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
55 <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
56 <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
57 <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
58 <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
59 <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
60 <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
61 <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
62 <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
63 <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
64 <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
65 <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
66 <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
67 <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
68 <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
69 <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
70 <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
71 <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
72 <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
73 <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
74 <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
75 <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
76 <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
77 <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
78 <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
79 <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
80 <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
81 <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
82 <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
83 </param>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
84 </when>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
85 <when value="dataset">
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
86 <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
87 </when>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
88 </conditional>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
89 <section name="advanced" title="Advanced options" expanded="False">
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
90 <param name="expected_identity" argument="--expected-identity" type="float" min="0" max="1" optional="True" label="Discard sequences that are insufficiently identical to the reference" />
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
91 <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
92 <option value="codon" selected="True">Codon</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
93 <option value="dna">DNA</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
94 <option value="amino">Amino acids</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
95 </param>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
96 <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
97 <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
98 <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
99 <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
100 <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
101 <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
102 <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
103 <option value="PAM200">PAM 200 substitution</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
104 <option value="PAM250">PAM 250 substitution</option>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
105 <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
106 </param>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
107 <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
108 <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
109 <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
110 </section>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
111 </inputs>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
112 <outputs>
1
f9b72a376ec9 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit 9a163dd8880c14f371e2603389f4951881a74b25"
iuc
parents: 0
diff changeset
113 <data name="output" format="bam" from_work_dir="alignment.bam" />
0
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
114 <data name="discarded_reads" format="fasta">
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
115 <filter>advanced['discard']</filter>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
116 </data>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
117 </outputs>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
118 <tests>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
119 <test>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
120 <param name="input" ftype="fasta" value="bealign-in1.fa" />
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
121 <param name="reference_type" value="dataset" />
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
122 <param name="score_matrix" value="HIV_BETWEEN_F" />
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
123 <param name="reference" ftype="fasta" value="bealign-in-ref-1.fa" />
2
d8b6f0adaa79 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 1
diff changeset
124 <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
125 </test>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
126 <test>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
127 <param name="input" ftype="fasta" value="bealign-in2.fa" />
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
128 <param name="reference_type" value="dataset" />
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
129 <param name="score_matrix" value="BLOSUM62" />
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
130 <param name="reference" ftype="fasta" value="bealign-in-ref-2.fa" />
2
d8b6f0adaa79 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 1
diff changeset
131 <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
132 </test>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
133 <test>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
134 <param name="input" ftype="fasta" value="bealign-in2.fa" />
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
135 <param name="reference_type" value="dataset" />
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
136 <param name="expected_identity" value="0.9" />
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
137 <param name="score_matrix" value="BLOSUM62" />
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
138 <param name="reference" ftype="fasta" value="bealign-in-ref-2.fa" />
2
d8b6f0adaa79 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 1
diff changeset
139 <output name="output" file="bealign-out3.bam" ftype="bam" lines_diff="2"/>
0
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
140 </test>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
141 </tests>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
142 <help>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
143 <![CDATA[
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
144 bealign
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
145 -------
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
146
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
147 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
148
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
149 NOTES
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
150 -----
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
151
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
152 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
153 ]]></help>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
154 <expand macro="citations"/>
6ef10b28e967 planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
155 </tool>