Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • lyw1
    replied
    Thanks.

    How do you separate unambiguousReads and ambiguousReads in bbmap.sh?

    Leave a comment:


  • Brian Bushnell
    replied
    The size limit is the same as kmer length. So, if k=30, it will not work with anything less than a 30bp reference.

    Leave a comment:


  • lyw1
    replied
    Is there a size limitation for the referece sequences? It will not work when I add a 20 bp reference sequence.

    Leave a comment:


  • lyw1
    replied
    Great, thanks.

    Zheng

    Leave a comment:


  • Brian Bushnell
    replied
    In this case, the output is misleading... BBDuk assumes that the ref file is a file of contaminants because that's what I originally designed it for. So "Contaminants" actually means "Things that match the reference". I may change the wording eventually.

    In other words, 95.04% of the reads matched the reference for K=16 and 81.89% did for K=26.

    Leave a comment:


  • lyw1
    replied
    And a shorter kmer will always find more matches in the presence of error.

    Here k=16 shows less match sequences than k=26

    for k=16
    Input: 159642 reads 4469976 bases.
    Contaminants: 151727 reads (95.04%) 4248356 bases (95.04%)
    Result: 7915 reads (4.96%) 221620 bases (4.96%)

    for k=26
    Input: 159642 reads 4469976 bases.
    Contaminants: 130724 reads (81.89%) 3660272 bases (81.89%)
    Result: 28918 reads (18.11%) 809704 bases (18.11%)

    Leave a comment:


  • Brian Bushnell
    replied
    So... that's telling you that you are getting matches between the stuff in your input file (probe48mix25fg_S7_L001_R2_001.fastq) and your reference file (ngs13template.fasta). And a shorter kmer will always find more matches in the presence of error.

    probe48mix25fg_S7_L001_R2_001_26.txt will contain a list of which reference sequences were seen, and how many times they were seen.

    Leave a comment:


  • lyw1
    replied
    k=16 shows high contaminants than k=26

    zheng@zheng-XPS-8500:~/Desktop/bbmap/20140916ngs$ bbduk.sh -Xmx1g in=probe48mix25fg_S7_L001_R2_001.fastq ref=ngs13template.fasta stats=probe48mix25fg_S7_L001_R2_001_26.txt k=26 fbm
    java -ea -Xmx1g -cp /home/zheng/Desktop/bbmap/current/ jgi.BBDukF -Xmx1g in=probe48mix25fg_S7_L001_R2_001.fastq ref=ngs13template.fasta stats=probe48mix25fg_S7_L001_R2_001_26.txt k=26 fbm
    Executing jgi.BBDukF [-Xmx1g, in=probe48mix25fg_S7_L001_R2_001.fastq, ref=ngs13template.fasta, stats=probe48mix25fg_S7_L001_R2_001_26.txt, k=26, fbm]

    No output stream specified. To write to stdout, please specify 'out=stdout.fq' or similar.
    Initial:
    Memory: free=237m, used=14m

    Added 13 kmers; time: 0.023 seconds.
    Memory: free=228m, used=23m

    Input is being processed as unpaired

    Input: 159642 reads 4469976 bases.
    Contaminants: 130724 reads (81.89%) 3660272 bases (81.89%)
    Result: 28918 reads (18.11%) 809704 bases (18.11%)

    Time: 0.197 seconds.
    Reads Processed: 159k 811.47k reads/sec
    Bases Processed: 4469k 22.72m bases/sec
    zheng@zheng-XPS-8500:~/Desktop/bbmap/20140916ngs$ ^C
    zheng@zheng-XPS-8500:~/Desktop/bbmap/20140916ngs$ bduk.sh -Xmx1g in=probe48mix25fg_S7_L001_R2_001.fastq ref=ngs13template.fasta stats=probe48mix25fg_S7_L001_R2_001_16.txt k=16 fbm
    bduk.sh: command not found
    zheng@zheng-XPS-8500:~/Desktop/bbmap/20140916ngs$ bbduk.sh -Xmx1g in=probe48mix25fg_S7_L001_R2_001.fastq ref=ngs13template.fasta stats=probe48mix25fg_S7_L001_R2_001_16.txt k=16 fbm
    java -ea -Xmx1g -cp /home/zheng/Desktop/bbmap/current/ jgi.BBDukF -Xmx1g in=probe48mix25fg_S7_L001_R2_001.fastq ref=ngs13template.fasta stats=probe48mix25fg_S7_L001_R2_001_16.txt k=16 fbm
    Executing jgi.BBDukF [-Xmx1g, in=probe48mix25fg_S7_L001_R2_001.fastq, ref=ngs13template.fasta, stats=probe48mix25fg_S7_L001_R2_001_16.txt, k=16, fbm]

    No output stream specified. To write to stdout, please specify 'out=stdout.fq' or similar.
    Initial:
    Memory: free=237m, used=14m

    Added 143 kmers; time: 0.028 seconds.
    Memory: free=228m, used=23m

    Input is being processed as unpaired

    Input: 159642 reads 4469976 bases.
    Contaminants: 151727 reads (95.04%) 4248356 bases (95.04%)
    Result: 7915 reads (4.96%) 221620 bases (4.96%)

    Leave a comment:


  • Brian Bushnell
    replied
    Please give me the exact command line (what you typed before you hit enter).

    Leave a comment:


  • lyw1
    replied
    Yes, bbduk.sh.

    Input is being processed as unpaired

    Input: 385043 reads 10781204 bases.
    Contaminants: 341911 reads (88.80%) 9573508 bases (88.80%)
    Result: 43132 reads (11.20%) 1207696 bases (11.20%)

    Leave a comment:


  • Brian Bushnell
    replied
    Are you using bbduk.sh? That's the only one that prints anything about contaminants. Can you show your specific command line?

    Anyway, if you tried filtering out adapters and you got a result like that, it means you have almost no product and mostly adapter sequence.

    Leave a comment:


  • lyw1
    replied
    I need to read 30 nt for sequences. Miseq read 32 nt in sequencing. Thus many sequences have NN at last 2 positions. Does this relate to high contaminant rate?

    Leave a comment:


  • lyw1
    replied
    high contaninants

    Thanks.

    Input is being processed as unpaired

    Input: 385043 reads 10781204 bases.
    Contaminants: 341911 reads (88.80%) 9573508 bases (88.80%)
    Result: 43132 reads (11.20%) 1207696 bases (11.20%)

    What is diffinition of contaminants? It looks very high.

    Leave a comment:


  • Brian Bushnell
    replied
    Oh - that's an intentional protection from overwriting files. Just delete the output file first or add the "overwrite" flag.

    Leave a comment:


  • lyw1
    replied
    Thanks.

    Seems still have a problem after with flag -da.

    zheng@zheng-XPS-8500:~/Desktop/bbmap/20140916ngs$ kmercountexact.sh in=ERa-05RNS160m_S6_L001_R2_001.fastq outk=ERa-05RNS160m_S6_L001_R2_001_counts16.txt mincount=3 k=16 -da
    java -da -Xmx11773m -cp /home/zheng/Desktop/bbmap/current/ jgi.CountKmersExact in=ERa-05RNS160m_S6_L001_R2_001.fastq outk=ERa-05RNS160m_S6_L001_R2_001_counts16.txt mincount=3 k=16 -da
    Executing jgi.CountKmersExact [in=ERa-05RNS160m_S6_L001_R2_001.fastq, outk=ERa-05RNS160m_S6_L001_R2_001_counts16.txt, mincount=3, k=16, -da]

    ways=37
    Exception in thread "main" java.lang.RuntimeException: Output file ERa-05RNS160m_S6_L001_R2_001_counts16.txt already exists, and overwrite=false
    at jgi.CountKmersExact.<init>(CountKmersExact.java:335)
    at jgi.CountKmersExact.main(CountKmersExact.java:55)

    Leave a comment:

Latest Articles

Collapse

  • SEQadmin2
    Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
    by SEQadmin2



    Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

    Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
    ...
    10-14-2026, 09:55 AM
  • SEQadmin2
    New Genomics Technologies Take Aim at Long-Standing Limits
    by SEQadmin2


    Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

    We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
    ...
    09-28-2026, 10:25 AM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by SEQadmin2, 10-22-2026, 11:13 AM
0 responses
60 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-22-2026, 10:48 AM
0 responses
42 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-15-2026, 10:52 AM
0 responses
68 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-14-2026, 05:39 AM
0 responses
70 views
0 reactions
Last Post SEQadmin2  
Working...