Repository 'bam2fastx'
hg clone https://toolshed.g2.bx.psu.edu/repos/iuc/bam2fastx

Changeset 1:7f7f2ee03430 (2024-03-25)
Previous changeset 0:61a6b93ee6e1 (2024-03-12) Next changeset 2:0bfdf46e5e31 (2024-11-06)
Commit message:
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pbtk commit c2e67f103e2b83fd0fb9757ea6b75984d4fd9b64
modified:
bam2fastx.xml
b
diff -r 61a6b93ee6e1 -r 7f7f2ee03430 bam2fastx.xml
--- a/bam2fastx.xml Tue Mar 12 15:42:13 2024 +0000
+++ b/bam2fastx.xml Mon Mar 25 17:50:00 2024 +0000
b
@@ -2,7 +2,7 @@
     <description>PacBio BAM to Fastx</description>
     <macros>
         <token name="@TOOL_VERSION@">3.1.1</token>
-        <token name="@VERSION_SUFFIX@">0</token>
+        <token name="@VERSION_SUFFIX@">1</token>
     </macros>
     <requirements>
         <requirement type="package" version="@TOOL_VERSION@">pbtk</requirement>
@@ -18,9 +18,9 @@
 #end if
 input.bam
 --num-threads  "\${GALAXY_SLOTS:-1}"  &&
-#if $output_format == "fasta":
+#if $output_format == "fasta_gz":
     mv output.fasta.gz '$output_fasta_gz'
-#elif $output_format == "fastq":
+#elif $output_format == "fastq_gz":
     mv output.fastq.gz '$output_fastq_gz'
 #end if
     ]]></command>
@@ -33,28 +33,28 @@
     </inputs>
     <outputs>
         <data name="output_fasta_gz" format="fasta.gz" label="${tool.name} on ${on_string}: Fasta">
-            <filter>output_format == "fasta"</filter>
+            <filter>output_format == "fasta_gz"</filter>
         </data>
         <data name="output_fastq_gz" format="fastqsanger.gz" label="${tool.name} on ${on_string}: Fastq">
-            <filter>output_format == "fastq"</filter>
+            <filter>output_format == "fastq_gz"</filter>
         </data>
     </outputs>
     <tests>
         <test expect_num_outputs="1">
             <param name="input_bam" ftype="unsorted.bam" value="sample.bam"/>
-            <param name="output_format" value="fastq_gz" />
-            <output name="output_fastq_gz">
+            <param name="output_format" value="fastq.gz" />
+            <output name="output_fastq_gz" decompress="true">
                 <assert_contents>
-                    <has_size min="9000" />
+                    <has_text text="AATGCCTTATTAAGTTAAGAAATGGTTTTTTTTAAACTTACAGATGGAA" />
                 </assert_contents>
             </output>
         </test>
         <test expect_num_outputs="1" >
             <param name="input_bam" ftype="bam" value="sample.bam"/>
-            <param name="output_format" value="fasta_gz" />
-            <output name="output_fasta_gz" >
+            <param name="output_format" value="fasta.gz" />
+            <output name="output_fasta_gz" decompress="true">
                 <assert_contents>
-                    <has_size min="9000" />
+                    <has_text text="AATGCCTTATTAAGTTAAGAAATGGTTTTTTTTAAACTTACAGATGGAA" />
                 </assert_contents>
             </output>
         </test>