mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-24 02:04:04 +08:00
add special case for BAM files
This commit is contained in:
@@ -55,6 +55,9 @@
|
||||
#set $cleaned_name = str($count + 1) + '_' + re.sub('[^\w\-\.\s]', '_', str($file.element_identifier))
|
||||
echo "[`date`] - Linking '$file' to '/home/rstudio/galaxy_inputs/${cleaned_name}.${file.ext}'" &&
|
||||
ln -sf '$file' '/home/rstudio/galaxy_inputs/${cleaned_name}.${file.ext}' &&
|
||||
#if $file.ext == 'bam':
|
||||
ln -s '$file.metadata.bam_index' '/home/rstudio/galaxy_inputs/${cleaned_name}.bam.bai' &&
|
||||
#end if
|
||||
#end for
|
||||
#else
|
||||
echo "[`date`] - No input files provided, skipping file linking step." &&
|
||||
|
||||
Reference in New Issue
Block a user