Skip to content

Commit 117a793

Browse files
bgrueningmvdbeek
authored andcommitted
add special case for BAM files
1 parent 3481880 commit 117a793

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/interactive/interactivetool_rstudio_bioc_3.20.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@
5555
#set $cleaned_name = str($count + 1) + '_' + re.sub('[^\w\-\.\s]', '_', str($file.element_identifier))
5656
echo "[`date`] - Linking '$file' to '/home/rstudio/galaxy_inputs/${cleaned_name}.${file.ext}'" &&
5757
ln -sf '$file' '/home/rstudio/galaxy_inputs/${cleaned_name}.${file.ext}' &&
58+
#if $file.ext == 'bam':
59+
ln -s '$file.metadata.bam_index' '/home/rstudio/galaxy_inputs/${cleaned_name}.bam.bai' &&
60+
#end if
5861
#end for
5962
#else
6063
echo "[`date`] - No input files provided, skipping file linking step." &&

0 commit comments

Comments
 (0)