Header Leaderboard Ad

Collapse

A question on Illumina paired-end reads alignment. Merging from different samples

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
    Because technical replicates could have different insert sizes, and the average (or estimated) insert size can have an effect on alignment, you may get different results even for technical replicates between merging prior to mapping versus merging after mapping. In many cases this difference is trivial and in general mapping the reads independently is not guaranteed to give you an optimal answer with respect to insert size anyway, since there is an order dependency, but it's something to be aware of.

    Leave a comment:


  • GenoMax
    replied
    Originally posted by linudz View Post
    Thank you very much for your answer. This is going to be done on replicates of the same sample, so it should apply. Thanks again
    Just want to re-emphasize. Are these technical replicates or biological? Merging data is only appropriate for technical replicates.

    Leave a comment:


  • linudz
    replied
    Thank you very much for your answer. This is going to be done on replicates of the same sample, so it should apply. Thanks again

    Leave a comment:


  • GenoMax
    replied
    Originally posted by linudz View Post
    Hi folks, I have a question on how to better merge paired-end reads coming from different samples. Basically, we do align genome resequencing fastq with bwa mem, and compress the resulting .sam file into a .bam.

    If we have to merge two different samples, there are basically two ways. The first is to merge the fastqs and align the resulting file, the second is to make use of samtools merge to merge the .bam files.

    My concern is whether the two procedures are equally valid, or there is some relevant difference in the outcome.
    Either way should be fine after you take the "note" below into account.

    Note: When you are referencing "merging samples" are you referring to technical replicates of the same sample? Merging would be appropriate only in that case. If "samples" are true biological replicates then you would want to keep them separate for downstream analysis.

    but I still wonder if the number of reads affects the results of the alignment, or each read is aligned independently.

    Can anyone give me more insights on this?
    Each read pair is independently aligned to the reference so there is no effect of the amount of data on actual alignments.

    Leave a comment:


  • A question on Illumina paired-end reads alignment. Merging from different samples

    Hi folks, I have a question on how to better merge paired-end reads coming from different samples. Basically, we do align genome resequencing fastq with bwa mem, and compress the resulting .sam file into a .bam.

    If we have to merge two different samples, there are basically two ways. The first is to merge the fastqs and align the resulting file, the second is to make use of samtools merge to merge the .bam files.

    My concern is whether the two procedures are equally valid, or there is some relevant difference in the outcome.

    I think that everything revolves around the functioning of the Burrows Wheeler Transform Alignment. I have broadly understood the application of the BWT and of the indexing, but I still wonder if the number of reads affects the results of the alignment, or each read is aligned independently.

    Can anyone give me more insights on this?

Latest Articles

Collapse

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by seqadmin, 06-01-2023, 08:56 PM
0 responses
11 views
0 likes
Last Post seqadmin  
Started by seqadmin, 06-01-2023, 07:33 AM
0 responses
17 views
0 likes
Last Post seqadmin  
Started by seqadmin, 05-31-2023, 07:50 AM
0 responses
55 views
0 likes
Last Post seqadmin  
Started by seqadmin, 05-26-2023, 09:22 AM
0 responses
59 views
0 likes
Last Post seqadmin  
Working...
X