FAQ - ajmoore143/KEGGBLAST GitHub Wiki

FAQ

Q1: My species name isn’t matching even though it looks correct. Why?

  • Make sure you’re spelling (at least most of) the Latin name correctly.
  • Wildcards: you can also try just the genus (e.g. homo) if you know the code is hsa.
  • If you absolutely know the KEGG code (e.g. kka for Kakapo), just pass that string to map_species_from_single_input.

Q2: I’m not seeing any NTSEQ block—only AASEQ.

  • Some KO entries don’t have nucleotide data available for certain species. Only the AASEQ block may be present.
  • KEGGBLAST will only write FASTA if that block exists; skip in other cases.

Q3: Can I use my own local BLAST database instead of “nr”?

  • gget: no, gget only hits NCBI’s servers.
  • NCBI API: you can’t directly point to a custom local DB with the HTTP service; however, you can call run_ncbi_blast_all with remote=False and supply your local DB path if you install standalone BLAST+.
  • Example:
    run_ncbi_blast_all(
        program="blastp",
        database="/path/to/my_local_db",
        remote=False,
        query_folder="fasta_output/hsa",
        output_folder="my_local_blast_results"
    )