when I use the model of the modify bamAssign, if the -r added, the header of the output SAM/BAM will keep its own chromosomes. but it is just output a little reads and the header of the bam just include the "@sq SN:chr1 LN:31279297" without other information such as "@rg @pg". when I use the samtools view to open the the output bam, it is display [main_samview] truncated file. So, what is the problem?
when I use the model of the modify bamAssign, if the -r added, the header of the output SAM/BAM will keep its own chromosomes. but it is just output a little reads and the header of the bam just include the "@sq SN:chr1 LN:31279297" without other information such as "@rg @pg". when I use the samtools view to open the the output bam, it is display [main_samview] truncated file. So, what is the problem?