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

Error message unclear #10

Open
jzrapp opened this issue Nov 21, 2022 · 2 comments
Open

Error message unclear #10

jzrapp opened this issue Nov 21, 2022 · 2 comments

Comments

@jzrapp
Copy link

jzrapp commented Nov 21, 2022

Hi @moineaulab and @plpla

I'm running CRISPR studio on a large dataset and I received this error after the spacermatch.mcl files has been created:

Clustering the spacers
Traceback (most recent call last):
  File "/home/jorap2/.conda/envs/crisprStudio/bin/CRISPR_Studio", line 855, in <module>
    main()
  File "/home/jorap2/.conda/envs/crisprStudio/bin/CRISPR_Studio", line 808, in main
    clDict = attributeClsColor(outFasta+'_fasta36.spacermatch.mcl', spacerDict)
  File "/home/jorap2/.conda/envs/crisprStudio/bin/CRISPR_Studio", line 248, in attributeClsColor
    spacerDict[it].extend([str(colBk), str(colFr), clName])
KeyError: 'SI3U_Ga0307490_1000089_Altererythrobacter||CRISPR1_SPACER1_1'

Could you help me understand the issue?
Has it to do with the long headers that I gave to the sequences?

Thanks a lot!
Josephine

@plpla
Copy link
Contributor

plpla commented Nov 21, 2022

Hello @jzrapp,
I have not looked at this code for a while now. Your header is quite long. Can you try making it shorter and maybe remove the "||"? If that does not solve the issue, let me know and I'll investigate! :)

@jzrapp
Copy link
Author

jzrapp commented Nov 21, 2022

Hi @plpla, the "||" is being introduced by your software. The original headers look like this "SI3U_Ga0307490_1000089_Altererythrobacter".

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