Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.

  • #2
    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).

    Comment

    Latest Articles

    Collapse

    • seqadmin
      Best Practices for Single-Cell Sequencing Analysis
      by seqadmin



      While isolating and preparing single cells for sequencing was historically the bottleneck, recent technological advancements have shifted the challenge to data analysis. This highlights the rapidly evolving nature of single-cell sequencing. The inherent complexity of single-cell analysis has intensified with the surge in data volume and the incorporation of diverse and more complex datasets. This article explores the challenges in analysis, examines common pitfalls, offers...
      06-06-2024, 07:15 AM
    • seqadmin
      Latest Developments in Precision Medicine
      by seqadmin



      Technological advances have led to drastic improvements in the field of precision medicine, enabling more personalized approaches to treatment. This article explores four leading groups that are overcoming many of the challenges of genomic profiling and precision medicine through their innovative platforms and technologies.

      Somatic Genomics
      “We have such a tremendous amount of genetic diversity that exists within each of us, and not just between us as individuals,”...
      05-24-2024, 01:16 PM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by seqadmin, 06-21-2024, 07:49 AM
    0 responses
    14 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 06-20-2024, 07:23 AM
    0 responses
    14 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 06-17-2024, 06:54 AM
    0 responses
    16 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 06-14-2024, 07:24 AM
    0 responses
    25 views
    0 likes
    Last Post seqadmin  
    Working...
    X