Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • SNP filtering related fault in the BWA workflow

    Hi everybody,

    We are having an irritating problem with our BWA workflow which we have been working on for the last few days.

    The symptoms of our problem are the following:

    1) Our snpFiltering script that has worked with pileup files created after a maq workflow do not work with our new bwa-generated data. (While the indel filtering script under samtools works, the results are probably not reliable because of this and the other problems below.)
    2) To go back to the previous step, the sorted and indexed .bam file that we used the pileup command on, cannot be viewed under tview pointing at a fault.
    3) Taking one further step back, we have determined that integrating the .sam file generated from bwa back into the maq workflow did not create a meaningful output as well. So the fault should already be before this step.

    We are using the latest version of Solexa raw sequence data format as our data is relatively recent. We did use the correct fastq conversion algorithm and confirm that the files are valid after a successful maq workflow.

    The current workflow that we are using under bwa-samtools is the following as written as part of a shell script designed to work in the folder that contains the data.

    bwa index -a bwtsw chr11.fa
    bwa aln -e $i(3 to 8) chr11.fa sequence1.fastq > sequence1_indexed.sai
    bwa aln -e $i(3 to 8) chr11.fa sequence2.fastq > sequence2_indexed.sai
    bwa samse chr11.fa sequence1_indexed.sai sequence1.fastq > sequence1_aligned.sam
    bwa samse chr11.fa sequence2_indexed.sai sequence1.fastq >sequence2_aligned.sam samtools faidx chr11.fa
    samtools view -bt chr11.fa.fai -o sequence1_aligned.bam sequence1_aligned.sam
    samtools view -bt chr11.fa.fai -o sequence2_aligned.bam sequence2_aligned.sam
    samtools sort sequence1_aligned.bam sequence1_aligned_sorted
    samtools sort sequence2_aligned.bam sequence2_aligned_sorted
    samtools merge merged_sequence.bam sequence1_aligned_sorted.bam sequence2_aligned_sorted.bam
    samtools sort merged_sequence.bam merged_sequence_sorted
    samtools index merged_sequence_sorted.bam
    samtools pileup -f chr11.fa -c NG8_s_merged_sequence_sorted.bam > final_alignment.pileup

    A run without using data from both lanes produced a similar unusable output.

    Any help would be appreciated.
    Thanks for reading.

Latest Articles

Collapse

  • seqadmin
    Recent Advances in Sequencing Analysis Tools
    by seqadmin


    The sequencing world is rapidly changing due to declining costs, enhanced accuracies, and the advent of newer, cutting-edge instruments. Equally important to these developments are improvements in sequencing analysis, a process that converts vast amounts of raw data into a comprehensible and meaningful form. This complex task requires expertise and the right analysis tools. In this article, we highlight the progress and innovation in sequencing analysis by reviewing several of the...
    05-06-2024, 07:48 AM
  • seqadmin
    Essential Discoveries and Tools in Epitranscriptomics
    by seqadmin




    The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
    04-22-2024, 07:01 AM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by seqadmin, 05-10-2024, 06:35 AM
0 responses
18 views
0 likes
Last Post seqadmin  
Started by seqadmin, 05-09-2024, 02:46 PM
0 responses
21 views
0 likes
Last Post seqadmin  
Started by seqadmin, 05-07-2024, 06:57 AM
0 responses
19 views
0 likes
Last Post seqadmin  
Started by seqadmin, 05-06-2024, 07:17 AM
0 responses
21 views
0 likes
Last Post seqadmin  
Working...
X