Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not an issue - Valuable usage tips #1

Open
Tarasovk49 opened this issue Oct 23, 2024 · 0 comments
Open

Not an issue - Valuable usage tips #1

Tarasovk49 opened this issue Oct 23, 2024 · 0 comments

Comments

@Tarasovk49
Copy link

  1. Every tool mentioned is pretty easy installed with conda except for the tool MetaGeneMark.
  2. When installing MetaGeneMark you'll face a lot of dependency conflicts if using conda as well as errors I was not able to solve during installation from source. Solution for me was to use the prebuilt code I found here: https://github.com/aghozlane/spasm/tree/master/MetaGeneMark/mgm
  3. If your contigs were assembled not with MEGAHIT they most likely won't have fasta headers of such form:
    >k79_0 flag=1 multi=15.0412 len=1221
    and you will get a crash when the tool starts fetching k-mer sizes from fasta headers.
    Mine were assembled using Spades with k-mer sizes -k 21,33,55,77,99,127 so I just used the longest k-mer value for each contig - that is 127 nucleotides. The code you need to fix located here: condiga/lib/python3.12/site-packages/condiga_utils/contig_utils.py
    I just commented original line and added constant value of k-mer value:
k_val = 127
#k_val = int(re.search(r"%s(.*)%s" % (start_n, end_n), record_id).group(1))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant