Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • tahamasoodi
    Success
    • May 2012
    • 130

    Sequence Alignment

    I have separate read 1 and read 2 fastq whole genome data and want go for their alignment. Just want to clear, shall I align them separately or first I will concatenate them and then make the alignment together?
    Thanks,
  • rahularjun86
    Member
    • Jan 2011
    • 58

    #2
    Hi dear,
    The data you have is the paired end data, with read 1 and read 2 fastq files are the short read data files with some insert size, most of the times it is 200-400 bps. Ask for the insert size of your data. You can use bowtie2, MAQ or BWA softwares for mapping the data onto the reference genome, choice of mapping software will depend on the read length/insert size. If you want to run bowtie, you may consider the following commands:

    You will first need to create a bowtie index of your "reference genome". Run bowtie-build on the genome fasta file:

    bowtie2-build Genome.fa Genome.build
    This will create six new files which constitute the bowtie index necessary for bowtie:

    Genome.build.1.ebwt Genome.build.4.ebwt
    Genome.build.2.ebwt Genome.build.rev.1.ebwt
    Genome.build.3.ebwt Genome.build.rev.2.ebwt

    We can now map paired reads in fastq format to the Genome.build reference sequence:

    bowtie2 -S -q --solexa1.3-quals -p 1 -I 100 -X 600 --fr Genome.build -1 read1.fastq -2 read2.fastq OUT.sam

    -S: output will be in SAM format.
    -q: Quality scores of your data.
    -p: Number of processors you want to use.
    -l: Minimum insert size.
    -X: maximum possible insert size.
    -fr: read files are in forward-reverse order.
    -1: read 1 fastq file
    -2: read 2 fastq file
    OUT.sam is the output file

    Hope this will be helpful.

    Best wishes,
    Rahul
    Rahul Sharma,
    Ph.D
    Frankfurt am Main, Germany

    Comment

    • tahamasoodi
      Success
      • May 2012
      • 130

      #3
      Thanks Rahul,

      That means there is no need to combine read 1 with read 2 for alignment.
      Thanks,

      Comment

      • rahularjun86
        Member
        • Jan 2011
        • 58

        #4
        Yes, there is no need to concatenate the read files, you will lose the pair information. And many of the reads will not map, as they will have insert in-between. Look at the following example:

        |=================================| (Reference genome)
        (1)-------> <-------- (2)
        (1)--------> <--------(2)
        (1)--------> <--------(2)

        === is the reference genome.
        (1)-----> read 1, your read 1.fastq file will contain all the (1)-----> reads.
        <-------(2) read 2, your read 2.fastq file will contain all the <------(2) reads.

        Please refer these terms: Paired end data, mate pairs, insert size, read quality scores, read coverage. It would help you in your analysis.
        Best wishes,
        Rahul
        Rahul Sharma,
        Ph.D
        Frankfurt am Main, Germany

        Comment

        • rahularjun86
          Member
          • Jan 2011
          • 58

          #5
          Distance in between (1)------> <-------(2) is called insert size.
          Rahul Sharma,
          Ph.D
          Frankfurt am Main, Germany

          Comment

          • tahamasoodi
            Success
            • May 2012
            • 130

            #6
            Can we concatenate read1 with read1, read2 with read2 (same sample) as I have few samples which I have run two times because of low coverage?
            Thanks,

            Comment

            • jimmybee
              Senior Member
              • Sep 2010
              • 119

              #7
              I suggest that you do not concatenate anything. Read pairs are random fragments. Concatenating one read1 with another read1 would be useless. You would lose the map-ability of the read and lose valuable information

              Comment

              • tahamasoodi
                Success
                • May 2012
                • 130

                #8
                Then how can I go for their alignment as I have around 30 fastq files for one sample generated by CASAVA?
                Thanks,

                Comment

                • jimmybee
                  Senior Member
                  • Sep 2010
                  • 119

                  #9
                  Oh sorry my mistake, from your last post I thought you wanted to actually physically join each read.

                  If you have many 30 fastq files then yes you can just concatenate them together to create one fastq read library for each read pair.

                  ie.

                  Code:
                  cat *R1.fastq > all.reads.R1.fastq
                  cat *R2.fastq > all.reads.R2.fastq

                  Comment

                  • rahularjun86
                    Member
                    • Jan 2011
                    • 58

                    #10
                    Hi,
                    Ya you can concatenate the files, but not reads. Please check the Id's in all of your files,
                    they should be unique before "cat" command.
                    You may also consider some data preprocessing methods: To trim the adapters and primers, discard low quality reads(with its pair), discard reads with more than 5%-10% N's in it. This can improve your analysis. Please check the quality of your reads with FASTQC or FASTX tools.
                    Best wishes,
                    Rahul
                    Rahul Sharma,
                    Ph.D
                    Frankfurt am Main, Germany

                    Comment

                    Latest Articles

                    Collapse

                    • 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
                    • SEQadmin2
                      Cancer Drug Resistance: The Lingering Barrier to Rising Survival
                      by SEQadmin2



                      Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

                      There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
                      07-08-2026, 05:17 AM
                    • GATTACAT
                      Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
                      by GATTACAT
                      Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
                      07-01-2026, 11:43 AM

                    ad_right_rmr

                    Collapse

                    News

                    Collapse

                    Topics Statistics Last Post
                    Started by SEQadmin2, 07-13-2026, 10:26 AM
                    0 responses
                    20 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 07-09-2026, 10:04 AM
                    0 responses
                    31 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 07-08-2026, 10:08 AM
                    0 responses
                    20 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 07-07-2026, 11:05 AM
                    0 responses
                    34 views
                    0 reactions
                    Last Post SEQadmin2  
                    Working...