Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • BBtool's Fetchnt Error

    Hi Everyone,

    I hope to test bbtool's sketch tool our bioinformatics needs. Before we proceed to doing any tests, we are having issues with retrieving the pre made/indexed NT database.

    We ran the fetchNT.sh , which was included in bbtools package.


    Unfortunately we are receiving the following error:

    Code:
    java -ea -Xmx1g -Xms1g -cp /opt/conda/opt/bbmap-38.86-0/current/ tax.RenameGiToTaxid -Xmx1g in=stdin.fa.gz out=renamed.fa.gz pigz=32 unpigz bgzip zl=8 server ow shrinknames maxbadheaders=5000 badheaders=badHeaders.txt taxpath=/BBSketch/taxonomy
    Executing tax.RenameGiToTaxid [-Xmx1g, in=stdin.fa.gz, out=renamed.fa.gz, pigz=32, unpigz, bgzip, zl=8, server, ow, shrinknames, maxbadheaders=5000, badheaders=badHeaders.txt, taxpath=/BBSketch/taxonomy]
    
     
    
    java.lang.Exception: Maximum bad headers exceeded: 5000
        at shared.KillSwitch.kill(KillSwitch.java:96)
        at tax.RenameGiToTaxid.updateHeadersFromServer_fasta(RenameGiToTaxid.java:629)
        at tax.RenameGiToTaxid.updateHeadersFromServer(RenameGiToTaxid.java:527)
        at tax.RenameGiToTaxid.processInner_server(RenameGiToTaxid.java:737)
        at tax.RenameGiToTaxid.process(RenameGiToTaxid.java:249)
        at tax.RenameGiToTaxid.main(RenameGiToTaxid.java:38)

    Is there any way to fix this issue/error?

    Thank you for the help.

  • #2
    NCBI's FTP site appears to be offline today. So that may be one reason why this is not working.

    Comment


    • #3
      Thank you, unfortunately we are still experiencing the issue...

      Comment


      • #4
        I just tried the script and was able to get it to work (did not let it finish). It started making two files. renamed.fa.gz (which has fasta sequences) and badHeaders.txt.

        Check to see if you are able to directly access NCBI FTP server from machine you are running this on.

        Comment


        • #5
          Originally posted by GenoMax View Post
          I just tried the script and was able to get it to work (did not let it finish). It started making two files. renamed.fa.gz (which has fasta sequences) and badHeaders.txt.

          Check to see if you are able to directly access NCBI FTP server from machine you are running this on.
          It works for me too, but it will eventually error out when the bad headers exceed more than 5000...

          Comment


          • #6
            Create a ticket via BBMap's repo so Brian is aware of the problem.

            Comment

            Latest Articles

            Collapse

            • seqadmin
              Techniques and Challenges in Conservation Genomics
              by seqadmin



              The field of conservation genomics centers on applying genomics technologies in support of conservation efforts and the preservation of biodiversity. This article features interviews with two researchers who showcase their innovative work and highlight the current state and future of conservation genomics.

              Avian Conservation
              Matthew DeSaix, a recent doctoral graduate from Kristen Ruegg’s lab at The University of Colorado, shared that most of his research...
              03-08-2024, 10:41 AM
            • seqadmin
              The Impact of AI in Genomic Medicine
              by seqadmin



              Artificial intelligence (AI) has evolved from a futuristic vision to a mainstream technology, highlighted by the introduction of tools like OpenAI's ChatGPT and Google's Gemini. In recent years, AI has become increasingly integrated into the field of genomics. This integration has enabled new scientific discoveries while simultaneously raising important ethical questions1. Interviews with two researchers at the center of this intersection provide insightful perspectives into...
              02-26-2024, 02:07 PM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, 03-14-2024, 06:13 AM
            0 responses
            32 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 03-08-2024, 08:03 AM
            0 responses
            71 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 03-07-2024, 08:13 AM
            0 responses
            80 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 03-06-2024, 09:51 AM
            0 responses
            68 views
            0 likes
            Last Post seqadmin  
            Working...
            X