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

KeyError: 'contig_2601_awad' #7

Closed
sadikmu opened this issue Aug 21, 2020 · 4 comments
Closed

KeyError: 'contig_2601_awad' #7

sadikmu opened this issue Aug 21, 2020 · 4 comments

Comments

@sadikmu
Copy link

sadikmu commented Aug 21, 2020

Hi thanks for this great tool.

I am having failure at newgenome stage in both step-by-step and direct running mode.
Base environment: Python 2.7.15
Dependancies installed using conda after on Python 2.7.15 environment.

tail of std.err

`Traceback (most recent call last):
  File "/home/apps/gala/gala", line 98, in <module>
    scaffolding(path='comparison',number_of_drafts=number_of_drafts,block=block,percentage=percent,shortage_contig=contig,quality=qty,out_file=True,output_name=name,output=outpath)
  File "/home/apps/gala/src/scaffolding.py", line 250, in scaffolding
    zom=zom+int(a[ien][bac][0].split('\t')[1])
KeyError: 'contig_2601_awad'`

Any suggestions please

@mawad89
Copy link
Collaborator

mawad89 commented Aug 24, 2020

Hi,
the problem in ccm not in newgenome stage
I think this problem because the naming system
if you have more than 9 drafts give the names like the below example:

draft01=path/to/draft
draft02=path/to/draft
draft03=path/to/draft
.
.
.
draft10=path/to/draft
draft11=path/to/draft
draft12=path/to/draft

Best wishes
Mohamed

@sadikmu
Copy link
Author

sadikmu commented Aug 26, 2020

hi @mawad89 ,

Thanks for your reply.

I think I have placed fofn in draft_names_path.txt as described here but fail with error posted earlier.

draft01=/home/data/assembly/gala/canu.contigs.fasta
draft02=/home/data/assembly/gala/flye.contigs.fasta

@mawad89
Copy link
Collaborator

mawad89 commented Aug 27, 2020

Okay
You can try the last commit, and tell me if you still have the same problem or another one

All the best
Mohamed

@mawad89
Copy link
Collaborator

mawad89 commented Oct 9, 2020

Any updates

@mawad89 mawad89 closed this as completed Apr 20, 2021
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

2 participants