Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • beki.renberg
    Member
    • Oct 2015
    • 11

    #1

    RNAseq Pipeline questions

    We recently ran our FIRST RNAseq run on our new Illumina NextSeq. We ran a paired-end run with 12 indexed samples. The data generated comes in 8 fastq files for each sample (4 lanes, Read 1, Read 2) for a total of 96 fastq files. We are planning on using the following pipeline to analyze our data for differential gene expression.

    Trimmomatic ---> Rockhopper

    We are running that analysis on a Windows 7 machine (I don't have any other options), and I have Geneious installed as well.

    So with all that background here is my question:

    At what point to I combine the 8 fastq files for each sample into 2 fastq files (R1, R2) in the pipeline?

    I was thinking that I would combine the files before I run Trimmomatic, so as to save myself MANY repetitions of the same analysis steps. The only way I have figured out how to combine fastq files on my Windows 7 machine is to use Geneious (which gives me a warning that some of the meta data may be lost).

    I ran a side by side comparison of the 2 combined fastq files with the 8 separate fastq files using my workflow and the output in Rockhopper said I had differential gene expression present in ~35% of genes (which doesn't make ANY sense since these are EXACTLY the same samples, just one set has been combined and the other has not).

    Any guidance would be greatly appreciated!!!!!
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    You should merge the R1/R2 fastq file pieces for each sample before doing any downstream analysis.

    You can (probably) setup NextSeq to generate a single file for each sample by default so you should not need to do this manually in future.

    Comment

    • beki.renberg
      Member
      • Oct 2015
      • 11

      #3
      Originally posted by GenoMax View Post
      You should merge the R1/R2 fastq file pieces for each sample before doing any downstream analysis.

      You can (probably) setup NextSeq to generate a single file for each sample by default so you should not need to do this manually in future.
      For clarification, do you mean combining the four lanes for R1 into one file and the four lanes for R2 into one file for a total of 2 files that are paired-end OR combining all 8 files (L1_R1, L1_R2, etc.) into 1 file that has the paired end reads interleaved?

      Comment

      • GenoMax
        Senior Member
        • Feb 2008
        • 7142

        #4
        Leave the R1/R2 reads in separate files unless you have a program that requires them to be interleaved. In that case you can't just concatenate the files together.

        Look into BBMap suite for your trimming/alignment needs since you will be able to use the program on windows.

        Do you have the option of running a virtual machine/unix on this box?

        Comment

        • beki.renberg
          Member
          • Oct 2015
          • 11

          #5
          Thank you for the clarification and for the info on BBMap. I will look into it.

          I do have the option to run a virtual machine on this box and I have discussed it with my supervisor multiple times during this process of getting a data analysis pipeline in place. I would really like to concatenate (I think this is the right work, the cat command in unix) the files together and not have to import them into Geneious, combine them (with probable loss of metadata), and then export them again. I will also look into the possibility of having the NextSeq combine the files for me (we are using a BaseSpace onsite and I am not very familiar with it, so I will investigate this possibility as well).

          Thank you SOO much for you help!

          Comment

          • beki.renberg
            Member
            • Oct 2015
            • 11

            #6
            Follow-up.

            I ended up installing Oracle VirtualBox (https://www.virtualbox.org/) and installing Ubuntu as a virtual machine so I could combine the fastq files using the zcat command in the terminal. You have to make sure that you have the Guest Additions installed so that you can created a "shared" folder that the host machine and the Guest OS both recognize. The user manual for VirtualBox is pretty good at explaining this (and Google anything you don't understand).

            Comment

            • GenoMax
              Senior Member
              • Feb 2008
              • 7142

              #7
              To put up a fine point about using zcat see post #4 in this thread: http://seqanswers.com/forums/showthread.php?t=51395

              Comment

              • beki.renberg
                Member
                • Oct 2015
                • 11

                #8
                Thank you for the heads up about the zcat command.

                Just to make sure, I should double check my concatenated files and make sure that all the the reads that I expect to be there, are actually there, right?

                Thank you again for all your guidance on this.

                Comment

                • GenoMax
                  Senior Member
                  • Feb 2008
                  • 7142

                  #9
                  Wouldn't hurt to check the size of the files. You could count the reads too, if you want to be extra careful (count the ^@ characters).

                  Edit: See #11 below for an amendment.
                  Last edited by GenoMax; 11-06-2015, 04:19 AM.

                  Comment

                  • WhatsOEver
                    Senior Member
                    • Apr 2012
                    • 215

                    #10
                    Originally posted by GenoMax View Post
                    Wouldn't hurt to check the size of the files. You could count the reads too, if you want to be extra careful (count the ^@ characters).
                    Counting ^@ might give a wrong result as the "@" is a valid ascii char in the qual string. Counting the lines "wc -l" and dividing by 4 is the safest way to be sure that everything is there

                    Comment

                    • GenoMax
                      Senior Member
                      • Feb 2008
                      • 7142

                      #11
                      Good point.

                      @beki.renberg: Use "^@HWI" (or common machine identifier you see in your data) instead.

                      Comment

                      Latest Articles

                      Collapse

                      • SEQadmin2
                        Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
                        by SEQadmin2



                        CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

                        Despite this, “CRISPR helped turn genome editing from a specialized technique into
                        ...
                        Today, 11:01 AM
                      • SEQadmin2
                        Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
                        by SEQadmin2


                        Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

                        The systematic characterization of the human proteome has
                        ...
                        07-20-2026, 11:48 AM
                      • SEQadmin2
                        Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                        by SEQadmin2



                        Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
                        ...
                        07-09-2026, 11:10 AM

                      ad_right_rmr

                      Collapse

                      News

                      Collapse

                      Topics Statistics Last Post
                      Started by SEQadmin2, Today, 02:55 AM
                      0 responses
                      6 views
                      0 reactions
                      Last Post SEQadmin2  
                      Started by SEQadmin2, 07-24-2026, 12:17 PM
                      0 responses
                      11 views
                      0 reactions
                      Last Post SEQadmin2  
                      Started by SEQadmin2, 07-23-2026, 11:41 AM
                      0 responses
                      12 views
                      0 reactions
                      Last Post SEQadmin2  
                      Started by SEQadmin2, 07-20-2026, 11:10 AM
                      0 responses
                      24 views
                      0 reactions
                      Last Post SEQadmin2  
                      Working...