Announcement

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

  • floem7
    replied
    Your commands are correct.

    As a followup, having done the trimming, is it reasonable then to combine all the trimmed reads into a SINGLE fastq, or should the separation of libraries and/or reads be maintained?
    I work with sequencing since 2015 and frankly I think leaving separate fastq files are standard. I think joining fastq's is useful (after trimming) if you have more than one sequencing run for the same library*. So later you can use this one file for alignment, as opposed to using few files, what is also possible (bbwrap from bbmap suite can do that).

    * although some advice to rather join resulting bam's

    Nevertheless, I hope anyone more experienced could join this post...

    Leave a comment:


  • reliscu
    replied
    Originally posted by floem7 View Post
    As of joining fastq's, you can do it using bash cat command:
    cat file1.fastq.gz file2.fastq.gz ... filen.fastq.gz > joined.fastq.gz
    Generally it's better to keep R1 and R2 reads in separate files.
    Nevertheless R1 and R2 read can be interleaved in one file, you could try
    reformat.sh in1=read1.fq in2=read2.fq out=reads.fq
    from the bbmap suite reformat
    As of this whole idea. I rather advice to trim reads for each pair separately, i.e. R1 and R2 pairs together for each library. Again, you can use bbduk from bbmap suite.
    Each run is separate reaction, so it can give different problems, some reads could have more adapter contamination, for example. Or in a given file there could be more overrepresented sequences, or other bias. So each pair of read should be trimmed together and separately from read from other libraries. You can generate quality metrics using FastQC
    Thank you for your response!

    To clarify, I could do something like this:

    Combine all R1 fastq files from L1 >> R1_L1.fastq
    Combine all R2 fastq files from L1 >> R2_L1.fastq
    >> Then trim these two files together

    Combine all R1 fastq files from L2 >> R1_L2.fastq
    Combine all R2 fastq files from L2 >> R2_L2.fastq
    >> Then trim these two files together

    Is this correct?

    As a followup, having done the trimming, is it reasonable then to combine all the trimmed reads into a SINGLE fastq, or should the separation of libraries and/or reads be maintained?

    Thanks again.

    Leave a comment:


  • floem7
    replied
    As of joining fastq's, you can do it using bash cat command:
    cat file1.fastq.gz file2.fastq.gz ... filen.fastq.gz > joined.fastq.gz
    Generally it's better to keep R1 and R2 reads in separate files.
    Nevertheless R1 and R2 read can be interleaved in one file, you could try
    reformat.sh in1=read1.fq in2=read2.fq out=reads.fq
    from the bbmap suite reformat
    As of this whole idea. I rather advice to trim reads for each pair separately, i.e. R1 and R2 pairs together for each library. Again, you can use bbduk from bbmap suite.
    Each run is separate reaction, so it can give different problems, some reads could have more adapter contamination, for example. Or in a given file there could be more overrepresented sequences, or other bias. So each pair of read should be trimmed together and separately from read from other libraries. You can generate quality metrics using FastQC

    Leave a comment:


  • Combining fastq files from paired-end WES prior to trimming and alignment

    Hi there!

    I've tried to find answers to questions that apply to my scenario, but I'm still unsure about the kosher way to approach this. I should say, I'm very new to this side of bioinformatics.

    I have data from four samples, with fastq files per read (R1 and R2) and per lane (lane 1 and lane 2)

    For example, the fastq files from my first sample:
    SF10711_9-1-22_CAGATC_L001_R1_001.fastq.gz SF10711_9-1-22_CAGATC_L002_R1_001.fastq.gz
    SF10711_9-1-22_CAGATC_L001_R1_002.fastq.gz SF10711_9-1-22_CAGATC_L002_R1_002.fastq.gz
    SF10711_9-1-22_CAGATC_L001_R1_003.fastq.gz SF10711_9-1-22_CAGATC_L002_R1_003.fastq.gz
    SF10711_9-1-22_CAGATC_L001_R1_004.fastq.gz SF10711_9-1-22_CAGATC_L002_R1_004.fastq.gz
    SF10711_9-1-22_CAGATC_L001_R1_005.fastq.gz SF10711_9-1-22_CAGATC_L002_R1_005.fastq.gz
    SF10711_9-1-22_CAGATC_L001_R1_006.fastq.gz SF10711_9-1-22_CAGATC_L002_R1_006.fastq.gz
    SF10711_9-1-22_CAGATC_L001_R1_007.fastq.gz SF10711_9-1-22_CAGATC_L002_R1_007.fastq.gz
    SF10711_9-1-22_CAGATC_L001_R1_008.fastq.gz SF10711_9-1-22_CAGATC_L002_R1_008.fastq.gz
    SF10711_9-1-22_CAGATC_L001_R1_009.fastq.gz SF10711_9-1-22_CAGATC_L002_R1_009.fastq.gz
    SF10711_9-1-22_CAGATC_L001_R1_010.fastq.gz SF10711_9-1-22_CAGATC_L002_R1_010.fastq.gz
    SF10711_9-1-22_CAGATC_L001_R1_011.fastq.gz SF10711_9-1-22_CAGATC_L002_R1_011.fastq.gz
    SF10711_9-1-22_CAGATC_L001_R2_001.fastq.gz SF10711_9-1-22_CAGATC_L002_R2_001.fastq.gz
    SF10711_9-1-22_CAGATC_L001_R2_002.fastq.gz SF10711_9-1-22_CAGATC_L002_R2_002.fastq.gz
    SF10711_9-1-22_CAGATC_L001_R2_003.fastq.gz SF10711_9-1-22_CAGATC_L002_R2_003.fastq.gz
    SF10711_9-1-22_CAGATC_L001_R2_004.fastq.gz SF10711_9-1-22_CAGATC_L002_R2_004.fastq.gz
    SF10711_9-1-22_CAGATC_L001_R2_005.fastq.gz SF10711_9-1-22_CAGATC_L002_R2_005.fastq.gz
    SF10711_9-1-22_CAGATC_L001_R2_006.fastq.gz SF10711_9-1-22_CAGATC_L002_R2_006.fastq.gz
    SF10711_9-1-22_CAGATC_L001_R2_007.fastq.gz SF10711_9-1-22_CAGATC_L002_R2_007.fastq.gz
    SF10711_9-1-22_CAGATC_L001_R2_008.fastq.gz SF10711_9-1-22_CAGATC_L002_R2_008.fastq.gz
    SF10711_9-1-22_CAGATC_L001_R2_009.fastq.gz SF10711_9-1-22_CAGATC_L002_R2_009.fastq.gz
    SF10711_9-1-22_CAGATC_L001_R2_010.fastq.gz SF10711_9-1-22_CAGATC_L002_R2_010.fastq.gz
    SF10711_9-1-22_CAGATC_L001_R2_011.fastq.gz SF10711_9-1-22_CAGATC_L002_R2_011.fastq.gz
    I was told generally that I should concatenate the fastq files prior to trimming and alignment because it would be easier to interpret the trimming and alignment statistics. My question then, is how can these be combined?

    I.e. Should I combine all fastq files from a sample (e.g. all of the files above into a single file), combine all files within a sample by R1 and R2, or combine all files within a sample by L1 and L2.

    Apologies for the simple questions. Again, I have done some research prior to posting this question, but still feel unsure about how to proceed.

    Thanks in advance for any insight!
    Last edited by reliscu; 05-08-2021, 12:34 PM.

Latest Articles

Collapse

  • seqadmin
    Advanced Tools Transforming the Field of Cytogenomics
    by seqadmin


    At the intersection of cytogenetics and genomics lies the exciting field of cytogenomics. It focuses on studying chromosomes at a molecular scale, involving techniques that analyze either the whole genome or particular DNA sequences to examine variations in structure and behavior at the chromosomal or subchromosomal level. By integrating cytogenetic techniques with genomic analysis, researchers can effectively investigate chromosomal abnormalities related to diseases, particularly...
    09-26-2023, 06:26 AM
  • seqadmin
    How RNA-Seq is Transforming Cancer Studies
    by seqadmin



    Cancer research has been transformed through numerous molecular techniques, with RNA sequencing (RNA-seq) playing a crucial role in understanding the complexity of the disease. Maša Ivin, Ph.D., Scientific Writer at Lexogen, and Yvonne Goepel Ph.D., Product Manager at Lexogen, remarked that “The high-throughput nature of RNA-seq allows for rapid profiling and deep exploration of the transcriptome.” They emphasized its indispensable role in cancer research, aiding in biomarker...
    09-07-2023, 11:15 PM
  • seqadmin
    Methods for Investigating the Transcriptome
    by seqadmin




    Ribonucleic acid (RNA) represents a range of diverse molecules that play a crucial role in many cellular processes. From serving as a protein template to regulating genes, the complex processes involving RNA make it a focal point of study for many scientists. This article will spotlight various methods scientists have developed to investigate different RNA subtypes and the broader transcriptome.

    Whole Transcriptome RNA-seq
    Whole transcriptome sequencing...
    08-31-2023, 11:07 AM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by seqadmin, Yesterday, 09:38 AM
0 responses
9 views
0 likes
Last Post seqadmin  
Started by seqadmin, 09-27-2023, 06:57 AM
0 responses
11 views
0 likes
Last Post seqadmin  
Started by seqadmin, 09-26-2023, 07:53 AM
0 responses
16 views
0 likes
Last Post seqadmin  
Started by seqadmin, 09-25-2023, 07:42 AM
0 responses
17 views
0 likes
Last Post seqadmin  
Working...
X