Entering edit mode
7.6 years ago
emblake
▴
90
I am using the DSRC toolkit to decompress many RNA-seq .dsrc files to .fastq, and I would like to batch convert multiple files at once. When I run,
for i in *.dsrc ; do dsrc d -t63 -s $i > $i.fastq ; done
the files have a .dsrc.fastq extension. How do I remove the .dsrc from the file name? Thanks in advance.
Yup! :) I figured it out shortly after posting. Thanks!