Header Leaderboard Ad

Collapse

Why there is a difference in size between R1 and R2 fastq files from BAM?

Collapse

Announcement

Collapse

SEQanswers June Challenge Has Begun!

The competition has begun! We're giving away a $50 Amazon gift card to the member who answers the most questions on our site during the month. We want to encourage our community members to share their knowledge and help each other out by answering questions related to sequencing technologies, genomics, and bioinformatics. The competition is open to all members of the site, and the winner will be announced at the beginning of July. Best of luck!

For a list of the official rules, visit (https://www.seqanswers.com/forum/sit...wledge-and-win)
See more
See less
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Brian Bushnell
    replied
    R2 is generally lower quality and more likely to be trimmed if quality-trimming was done, and less likely to be mapped (if for example the bam only contains mapped reads).

    Leave a comment:


  • Why there is a difference in size between R1 and R2 fastq files from BAM?

    Hi,

    I downloaded bunch of bam files from TCGA projects and converted them to fastq files. Even though these BAM files are pair-end WES data, the size of fastq_R1 is different with the size of fastq_R2 in many cases. Sometime, the difference are 1 or several lines as well as almost two fold differences in file size. I used SamToFastq.jar of Picard. The command I used is as follows;

    java -Xmx16g -jar SamToFastq.jar TMP_DIR=. INPUT=$file FASTQ=fastqR2 SECOND_END_FASTQ=fastqR2 VALIDATION_STRINGENCY=LENIENT VERBOSITY=ERROR";

    For example,
    TCGA-50-5946-01A_R1.fastq -> 3504190138
    TCGA-50-5946-01A_R2.fastq -> 3504224169

    TCGA-A7-A0CE-11A_R1.fastq -> 40393996094
    TCGA-A7-A0CE-11A_R2.fastq -> 21008959121

    It would be great if you give a clue about this.

Latest Articles

Collapse

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by seqadmin, Today, 07:14 AM
0 responses
4 views
0 likes
Last Post seqadmin  
Started by seqadmin, Yesterday, 01:08 PM
0 responses
6 views
0 likes
Last Post seqadmin  
Started by seqadmin, 06-01-2023, 08:56 PM
0 responses
36 views
0 likes
Last Post seqadmin  
Started by seqadmin, 06-01-2023, 07:33 AM
0 responses
174 views
0 likes
Last Post seqadmin  
Working...
X