yes of course and the produced sam is not empty
the command:
[izadi@lbox161 ouput1]$ $SAM/samtools view -h accepted_hits.bam > accepted_hits.sam
do you know please how I can produce a txt file???? because I could display the average of reads by biophysconnector that needs two txt files from RNA-seq and ribo-seq and a bed file from ribo seq..then this package could extract the average of reads and show the graph...but I cant produce the txt file with sam nor bed