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"*" #6

Open
opirku opened this issue May 15, 2024 · 0 comments
Open

KeyError"*" #6

opirku opened this issue May 15, 2024 · 0 comments

Comments

@opirku
Copy link

opirku commented May 15, 2024

I am trying to generate random intervals but I get the following error:
python nullseq/nullseq.py -n 2315832 -l 22 --seq chr19_prdm9.fasta -o random_chr19_prdm9.fasta


  • Welcome to NullSeq *


Translation Table: 11
Operating Mode: Exisitng Sequence - Nucleotide
AAFreq :
I 0.1429
D 0.1429
T 0.2857
S 0.1429
E 0.1429
* 0.1429
GC content : 0.0
Length : 22
Number of sequence : 2315832


Traceback (most recent call last):
File "/Volumes/LOH LAB/Orion/HiWi Project/nullseq/nullseq.py", line 163, in
main(args.o, number=args.n, seqfile=args.seq,
File "/Volumes/LOH LAB/Orion/HiWi Project/nullseq/nullseq.py", line 90, in main
if NS.evaluate_possibility(AAUsage, gc, length, N):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Volumes/LOH LAB/Orion/HiWi Project/NullSeq/NullSeq_Functions.py", line 479, in evaluate_possibility
(L, H) = get_maxmin_GC_count(AAfreq, n)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Volumes/LOH LAB/Orion/HiWi Project/NullSeq/NullSeq_Functions.py", line 446, in get_maxmin_GC_count
high += AAfreq[AA]maxGCDict[AA]/3
~~~~~~~~~^^^^
KeyError: '
'

could someone point me towards the solution?
Thank You

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