annotate bam2msa.xml @ 10:767943cd85bf draft default tip

planemo upload for repository https://github.com/davebx/bioext-gx/ commit a7729ad7789e8b120055a9a9b53494acb826b371
author iuc
date Mon, 02 Sep 2024 10:14:57 +0000
parents 27673f5b5343
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
12729213b4ae planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
1 <?xml version="1.0"?>
2
0a4ad829d87a "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@">
0a4ad829d87a "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>
0a4ad829d87a "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
4 <macros>
0a4ad829d87a "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
5 <import>macros.xml</import>
0a4ad829d87a "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
6 </macros>
0a4ad829d87a "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
7 <expand macro="requirements"/>
0a4ad829d87a "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
a68cb16fa1a0 "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
27673f5b5343 planemo upload for repository https://github.com/davebx/bioext-gx/ commit 473fd4bfc9bc6dc149978013545525529978b988
iuc
parents: 4
diff changeset
10 ln -sf '$input' input_bam &&
27673f5b5343 planemo upload for repository https://github.com/davebx/bioext-gx/ commit 473fd4bfc9bc6dc149978013545525529978b988
iuc
parents: 4
diff changeset
11 ln -sf '$input.metadata.bam_index' input_bam.bai &&
2
0a4ad829d87a "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
12 bam2msa
0a4ad829d87a "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
13 #if $region_start and $region_end:
0a4ad829d87a "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
14 -r $region_start:$region_end
0a4ad829d87a "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
15 #end if
8
27673f5b5343 planemo upload for repository https://github.com/davebx/bioext-gx/ commit 473fd4bfc9bc6dc149978013545525529978b988
iuc
parents: 4
diff changeset
16 'input_bam'
27673f5b5343 planemo upload for repository https://github.com/davebx/bioext-gx/ commit 473fd4bfc9bc6dc149978013545525529978b988
iuc
parents: 4
diff changeset
17 '$output'
2
0a4ad829d87a "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
18 ]]></command>
0a4ad829d87a "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
19 <inputs>
0a4ad829d87a "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"/>
0a4ad829d87a "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"/>
0a4ad829d87a "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"/>
0a4ad829d87a "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
23 </inputs>
0a4ad829d87a "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
24 <outputs>
0a4ad829d87a "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
25 <data name="output" format="fasta"/>
0a4ad829d87a "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
26 </outputs>
0a4ad829d87a "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
27 <tests>
0a4ad829d87a "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
28 <test>
3
b226e0c805a5 "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
0a4ad829d87a "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"/>
0a4ad829d87a "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
31 </test>
0a4ad829d87a "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
32 <test>
3
b226e0c805a5 "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
0a4ad829d87a "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"/>
0a4ad829d87a "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
35 </test>
0a4ad829d87a "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
36 </tests>
0a4ad829d87a "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>
0a4ad829d87a "planemo upload for repository https://github.com/davebx/bioext-gx/ commit b8438e86497e5f1084cca1c9b2fdc82c80a7e1b0"
iuc
parents: 0
diff changeset
38 <expand macro="citations"/>
0
12729213b4ae planemo upload for repository https://github.com/davebx/bioext-gx/ commit e85b8f45da435793513a47e4586b90ddec63fa86
iuc
parents:
diff changeset
39 </tool>