changeset 28:bc4ada69b61f draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/htseq_count commit 95fe80d08fb14c4c344da4979290e72261e31ae5"
author iuc
date Thu, 10 Oct 2019 04:05:45 -0400
parents 4dd515072667
children 44c91703f6a5
files htseq-count.xml
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/htseq-count.xml	Sun Apr 29 09:52:57 2018 -0400
+++ b/htseq-count.xml	Thu Oct 10 04:05:45 2019 -0400
@@ -32,9 +32,9 @@
     #end if
 
     #if $samfile.extension == 'bam':
-        samtools sort -n --output-fmt=SAM -o '$name_sorted_alignment_filename' '$samfile' &&
+        samtools sort -n -T "\${TMPDIR:-.}" --output-fmt=SAM -o '$name_sorted_alignment_filename' '$samfile' &&
     #else
-        samtools view -Su -t '${reference_fasta_filename}.fai' '$samfile' | samtools sort -n --output-fmt=SAM -o '$name_sorted_alignment_filename' - &&
+        samtools view -Su -t '${reference_fasta_filename}.fai' '$samfile' | samtools sort -n -T "\${TMPDIR:-.}" --output-fmt=SAM -o '$name_sorted_alignment_filename' - &&
     #end if
 
     htseq-count
@@ -66,7 +66,7 @@
             && samtools view -Su
                 -t '${reference_fasta_filename}.fai'
                 '$__new_file_path__/${samoutfile.id}_tmp.sam'
-            | samtools sort -o '$samoutfile' -
+            | samtools sort -T "\${TMPDIR:-.}" -o '$samoutfile' -
         #end if
     #end if
     ]]>
@@ -128,7 +128,7 @@
                             <when value="cached">
                                 <param name="ref_file" type="select" label="Using reference genome">
                                     <options from_data_table="sam_fa_indexes">
-                                        <filter type="data_meta" key="dbkey" ref="samfile" column="1"/>
+                                        <filter type="data_meta" key="dbkey" ref="samfile" column="value"/>
                                     </options>
                                     <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file"/>
                                 </param>