Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • Error encountered when running kmercountexact.sh from bbmap

    Hi all,

    I am encountering a java.lang.AssertionError when trying to run kmercountexact.sh.

    The two input files are 820 Mb each. I also tried running this script with subsetted data of the original datasets (using just the first 250 fastq records) but I got the same error message.

    The help documentation says "Last modified August 2, 2017" so it is a fairly recent version.

    Any advice is appreciated!
    ~Lina

    Code:
    $ ~/bbmap/kmercountexact.sh in1=${R1} in2=${R1} khist=${HIST} peaks=${PEAKS}
    java -ea -Xmx89748m -Xms89748m -cp /home/lina/bbmap/current/ jgi.KmerCountExact in1=7064890_R1.fastq in2=7064890_R1.fastq khist=khist.txt peaks=peaks.txt
    Executing jgi.KmerCountExact [in1=7064890_R1.fastq, in2=7064890_R1.fastq, khist=khist.txt, peaks=peaks.txt]
    
    Initial:
    Memory: max=90186m, free=88774m, used=1412m
    
    Executing kmer.KmerTableSet [in1=7064890_R1.fastq, in2=7064890_R1.fastq, khist=khist.txt, peaks=peaks.txt]
    
    Initial:
    Ways=101, initialSize=128000, prefilter=f, prealloc=f
    Memory: max=90186m, free=87363m, used=2823m
    
    Estimated kmer capacity:        3509022984
    After table allocation:
    Memory: max=90186m, free=86421m, used=3765m
    
    Exception in thread "main" java.lang.AssertionError: 7064890_R1.fastq, 7064890_R1.fastq
            at stream.ConcurrentReadInputStream.getReadInputStream(ConcurrentReadInputStream.java:111)
            at stream.ConcurrentReadInputStream.getReadInputStream(ConcurrentReadInputStream.java:45)
            at kmer.KmerTableSet.loadKmers(KmerTableSet.java:381)
            at kmer.AbstractKmerTableSet.loadKmers(AbstractKmerTableSet.java:288)
            at kmer.AbstractKmerTableSet.processInput(AbstractKmerTableSet.java:135)
            at kmer.AbstractKmerTableSet.process(AbstractKmerTableSet.java:80)
            at jgi.KmerCountExact.process2(KmerCountExact.java:285)
            at jgi.KmerCountExact.process(KmerCountExact.java:259)
            at jgi.KmerCountExact.main(KmerCountExact.java:58)

  • #2
    Hi Lina,

    I think you might be trying to give your forward reads twice to both the in1 and in2 arguments. Maybe your in2 argument should be:

    in2=${R2}

    I guess bbmap checks that the F and R reads have different file names and this is why you get an 'assertion' error.

    Cheers,

    Matt.

    Comment

    Latest Articles

    Collapse

    • seqadmin
      Non-Coding RNA Research and Technologies
      by seqadmin


      Non-coding RNAs (ncRNAs) do not code for proteins but play important roles in numerous cellular processes including gene silencing, developmental pathways, and more. There are numerous types including microRNA (miRNA), long ncRNA (lncRNA), circular RNA (circRNA), and more. In this article, we discuss innovative ncRNA research and explore recent technological advancements that improve the study of ncRNAs.

      [Article Coming Soon!]...
      Yesterday, 08:07 AM
    • seqadmin
      Recent Developments in Metagenomics
      by seqadmin





      Metagenomics has improved the way researchers study microorganisms across diverse environments. Historically, studying microorganisms relied on culturing them in the lab, a method that limits the investigation of many species since most are unculturable1. Metagenomics overcomes these issues by allowing the study of microorganisms regardless of their ability to be cultured or the environments they inhabit. Over time, the field has evolved, especially with the advent...
      09-23-2024, 06:35 AM
    • seqadmin
      Understanding Genetic Influence on Infectious Disease
      by seqadmin




      During the COVID-19 pandemic, scientists observed that while some individuals experienced severe illness when infected with SARS-CoV-2, others were barely affected. These disparities left researchers and clinicians wondering what causes the wide variations in response to viral infections and what role genetics plays.

      Jean-Laurent Casanova, M.D., Ph.D., Professor at Rockefeller University, is a leading expert in this crossover between genetics and infectious...
      09-09-2024, 10:59 AM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by seqadmin, 10-02-2024, 04:51 AM
    0 responses
    14 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 10-01-2024, 07:10 AM
    0 responses
    24 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 09-30-2024, 08:33 AM
    1 response
    31 views
    0 likes
    Last Post EmiTom
    by EmiTom
     
    Started by seqadmin, 09-26-2024, 12:57 PM
    0 responses
    20 views
    0 likes
    Last Post seqadmin  
    Working...
    X