annotate bam2msa.xml @ 9:31c3eec15213 draft default tip

planemo upload for repository https://github.com/davebx/bioext-gx/ commit e5a0f251aae89a83d154836029701bbf1c5a17fe
author iuc
date Fri, 10 Oct 2025 13:28:24 +0000
parents a6baa8728699
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
cf735919c2de planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
1 <?xml version="1.0"?>
2
31e5a2d73131 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
2 <tool id="bioext_bam2msa" name="Convert BAM" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
31e5a2d73131 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
3 <description>to FASTA multiple sequence alignment</description>
31e5a2d73131 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
4 <macros>
31e5a2d73131 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
5 <import>macros.xml</import>
31e5a2d73131 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
6 </macros>
31e5a2d73131 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
7 <expand macro="requirements"/>
31e5a2d73131 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
4
dc7d214d9673 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit 0c2133318563cdb508cb5561e95c9066bc17345f"
iuc
parents: 3
diff changeset
9 ## avoid bam2msa to create .bai in inputdir
8
a6baa8728699 planemo upload for repository https://github.com/davebx/bioext-gx/ commit a7729ad7789e8b120055a9a9b53494acb826b371
iuc
parents: 4
diff changeset
10 ln -sf '$input' input_bam &&
a6baa8728699 planemo upload for repository https://github.com/davebx/bioext-gx/ commit a7729ad7789e8b120055a9a9b53494acb826b371
iuc
parents: 4
diff changeset
11 ln -sf '$input.metadata.bam_index' input_bam.bai &&
2
31e5a2d73131 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
12 bam2msa
31e5a2d73131 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
13 #if $region_start and $region_end:
31e5a2d73131 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
14 -r $region_start:$region_end
31e5a2d73131 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
15 #end if
8
a6baa8728699 planemo upload for repository https://github.com/davebx/bioext-gx/ commit a7729ad7789e8b120055a9a9b53494acb826b371
iuc
parents: 4
diff changeset
16 'input_bam'
a6baa8728699 planemo upload for repository https://github.com/davebx/bioext-gx/ commit a7729ad7789e8b120055a9a9b53494acb826b371
iuc
parents: 4
diff changeset
17 '$output'
2
31e5a2d73131 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
18 ]]></command>
31e5a2d73131 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
19 <inputs>
31e5a2d73131 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
20 <param name="input" type="data" format="bam,sam" label="Input BAM file"/>
31e5a2d73131 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
21 <param name="region_start" type="integer" value="0" optional="True" label="Starting coordinate" help="Leave blank to extract all sequences"/>
31e5a2d73131 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
22 <param name="region_end" type="integer" value="0" optional="True" label="End coordinate"/>
31e5a2d73131 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
23 </inputs>
31e5a2d73131 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
24 <outputs>
31e5a2d73131 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
25 <data name="output" format="fasta"/>
31e5a2d73131 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
26 </outputs>
31e5a2d73131 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
27 <tests>
31e5a2d73131 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
28 <test>
3
3afd5c92b4a1 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
29 <param name="input" ftype="bam" value="bam2msa-in1.bam"/>
2
31e5a2d73131 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
30 <output name="output" file="bam2msa-out1.fa"/>
31e5a2d73131 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
31 </test>
31e5a2d73131 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
32 <test>
3
3afd5c92b4a1 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
iuc
parents: 2
diff changeset
33 <param name="input" ftype="bam" value="bam2msa-in2.bam"/>
2
31e5a2d73131 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
34 <output name="output" file="bam2msa-out2.fa"/>
31e5a2d73131 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
35 </test>
31e5a2d73131 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
36 </tests>
31e5a2d73131 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
37 <help>Extract MSA from a BAM file</help>
31e5a2d73131 "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
38 <expand macro="citations"/>
0
cf735919c2de planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
39 </tool>