How do I convert a .bam to .fq and vice versa without losing any data?
That is, after conversion, I do not lose any original data or get any modified output (like change in read quality sqore). I want to run GATK best practices, and they require kind-of both bam and fq file. But, no matter how many sample data I download, they come in either bam format, or in fq format, but not both. So, I need help.
If it is possible, then what is the GATK-recommended way to do it?
Please sign in to leave a comment.