Git Product home page Git Product logo

Comments (6)

snayfach avatar snayfach commented on June 26, 2024

I've gotten the same error. For me, what caused the error was one sequence composed entirely of G and T nucleotides. Adding a single A and C nucleotide resulted in no error. This should be an easy :-)

from barrnap.

jdwinkler-lanzatech avatar jdwinkler-lanzatech commented on June 26, 2024

I also just ran into this problem as well.

from barrnap.

zxgsy520 avatar zxgsy520 commented on June 26, 2024

I also just ran into this problem as well. I added A and same problem. The Internet said it was a problem with the conda installation.

from barrnap.

ptrebert avatar ptrebert commented on June 26, 2024

I just stumbled upon this; in case this is still relevant @zxgsy520 there is a switch to set the alphabet type for the query and use this as "guide" in case the alphabet type cannot be guessed for the target; --dna introduced in this PR
EddyRivasLab/hmmer#252
The switch is available in nhmmer v3.3.2 installed via conda

correction: the fix in the PR has only been merged into the dev branch, the switch --dna exists in latest release but does not include the fix

from barrnap.

ZeweiSong avatar ZeweiSong commented on June 26, 2024

I bypassed this issue by replacing all ambiguous bases (M, K, H, et al.) to N.

from barrnap.

cabbagesofdoom avatar cabbagesofdoom commented on June 26, 2024

I got this issue for a genome that started with a telomere repeat and did not have all four bases in the first few hundred characters. I got around it by replacing the first four characters of each sequence with GATC and then running on the temporary file:

PREFIX=$(basename ${GENOME/.fasta/})
sed 's/^[ACGT][ACGT][ACGT][ACGT]/GATC/' $GENOME > $PREFIX.tmp.fasta

from barrnap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.