Multiple Bam To Multiple Sam
I have 100's of BAM files in a directory. Is there a way with which we can convert all the BAM files in a directory into Sam files. I know that we can use
samtools view -h <path/.bam> > <path/.sam>
to convert individual files.