Mkfifo and dx cat
Stream BAM file from the platform to a worker
mkdir workspace
mappings_fifo_path="workspace/${mappings_bam_name}"
mkfifo "${mappings_fifo_path}" # FIFO file is created
dx cat "${mappings_bam}" > "${mappings_fifo_path}" &
input_pid="$!"Output BAM file read count
Stream the result file to the platform
Wait for background processes
How is the SAMtools dependency provided?
Last updated
Was this helpful?