Entering edit mode
6.2 years ago
Goku
▴
10
I have a list of files in bam_files.txt which looks like this
less bam_files.txt
/home/test/2cells_2_trim.bam
/home/test/6h_1_trim.bam
/home/test/2cells_1_trim.bam
/home/test/6h_2_trim.bam
I want to do something like this
cuffnorm -o cuffnorm_out /home/software/genes.gtf test/*.bam
but while reading files from bam_files.txt and not directly from directory (as shown above).
Can someone please help. Thanks a lot. Appreciate your help.
I was not able to get this working but i found my answer here https://unix.stackexchange.com/questions/429502/how-to-input-multiple-files-from-a-list-of-files-in-bash-script/429506?noredirect=1#comment775512_429506
thanks