I used samtools to convert Bam paired files to Fastq, and I'd like to see if the conversion was successful. I attempted to check the read names with the following commands:
comm -1 -2 bam_read_names.txt (paste fastq1_read_ids.txt fastq2_read_ids.txt | sort) > common_read_names.txt
However, the common_read_names.txt file is empty.
How do you tackle this problem and ensure that the conversion is correct? Is there another way to check?