Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • glfrey
    replied
    Hi GenoMax,

    Thank you very much for your quick reply and explanations. I believe my data was multiplexed (it was already sequenced when I started my project), but BBDUK did find some phix sequence and discarded them into the outm files so I could be wrong. Also thank you for that command, I will give it a go on my sequences.

    Leave a comment:


  • GenoMax
    replied
    In Illumina data the adapter contamination should only be on the 3'-end of the read, if all things have gone as expected. So doing just ktrim=r is fine.

    If your data was multiplexed (i.e. it had an index/tag) then you should not have to worry about phiX. Illumina's phiX does not have an index and should get discarded as part of the normal demultiplexing process.

    @Brian recently provided this additional bbduk command to check for and remove phiX sequence and other known sequencing artifacts (e.g. control sequences from TruSeq kit).
    Code:
    bbduk.sh in=trimmed.fq.gz out=filtered.fq.gz k=31 ref=artifacts,phix ordered cardinality

    Leave a comment:


  • glfrey
    started a topic Removing contamination with BBDUK

    Removing contamination with BBDUK

    Hello,

    I have just used BBDUK to remove adaptor sequence and phix from some raw illumina HiSeq 2X100bp reads and I'm really pleased with the improvement it has made in my sequences reported by FASTQC. I was just hoping someone could help me with a couple of questions to help me better understand how BBDUK removes contamination from a read, and if I'm using it correctly.

    (1)When using BBDUK to remove adaptors, I chose to use mink to look for shorter adaptor sequence in my sequences than the chosen K=31 by using mink. Below are my parameters.

    ./bbduk.sh in=R1_001.fastq in2=R2_001.fastq minlen=51 mink=9 ktrim=r tbo tpe K=31 hdist=1 hdist2=1 ref=adapters.fa stats=stats_adaptor.txt out=R1_clean.fq out2=R2_clean.fq outm=ER1_adaptormatch.fq outm2=R2_adaptormatch.fq

    This worked beautifully but it occurred to me that to use mink, I had to choose a side to trim from. I chose ktrim=r, but after I had done ktrim=r, am I meant to be repeating the process using the same commands as above and only changing ktrim=l so that both ends of the read have been checked for shorter kmers of contamination and then trimmed?


    (2) My second question is about the removal of phix. I notice that in the post on seqanswers called "Introducing BBDuk: Adaptor/Quality Trimming and Filtering" that mink is not used unlike the adaptor search, just simply K=31. Is this because adaptor sequence is more likely to be present as a small fragment than the phix sequence?


    I apologise if these are basic questions, I'm a masters student and I'm trying to ensure I thoroughly DQ my reads as well as understand all of the operations being performed.

    Thank you all for your help.

Latest Articles

Collapse

  • seqadmin
    Recent Advances in Sequencing Technologies
    by seqadmin







    Innovations in next-generation sequencing technologies and techniques are driving more precise and comprehensive exploration of complex biological systems. Current advancements include improved accessibility for long-read sequencing and significant progress in single-cell and 3D genomics. This article explores some of the most impactful developments in the field over the past year.

    Long-Read Sequencing
    Long-read sequencing has...
    Yesterday, 01:49 PM
  • seqadmin
    Genetic Variation in Immunogenetics and Antibody Diversity
    by seqadmin



    The field of immunogenetics explores how genetic variations influence immune responses and susceptibility to disease. In a recent SEQanswers webinar, Oscar Rodriguez, Ph.D., Postdoctoral Researcher at the University of Louisville, and Ruben Martínez Barricarte, Ph.D., Assistant Professor of Medicine at Vanderbilt University, shared recent advancements in immunogenetics. This article discusses their research on genetic variation in antibody loci, antibody production processes,...
    11-06-2024, 07:24 PM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by seqadmin, Yesterday, 09:29 AM
0 responses
14 views
0 likes
Last Post seqadmin  
Started by seqadmin, Yesterday, 09:06 AM
0 responses
11 views
0 likes
Last Post seqadmin  
Started by seqadmin, Yesterday, 08:03 AM
0 responses
11 views
0 likes
Last Post seqadmin  
Started by seqadmin, 11-22-2024, 07:36 AM
0 responses
65 views
0 likes
Last Post seqadmin  
Working...
X