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

I can't convert cif to fasta file #379

Open
minhphi1712 opened this issue Jan 14, 2025 · 0 comments
Open

I can't convert cif to fasta file #379

minhphi1712 opened this issue Jan 14, 2025 · 0 comments

Comments

@minhphi1712
Copy link

python3 cif2fasta.py -i /home/sandhyap/dataset -o pdb100.fas -c 3 -p pdb_filter.dat
Found: 5 files.
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "/usr/lib64/python3.6/multiprocessing/pool.py", line 119, in worker
result = (True, func(*args, **kwds))
File "/usr/lib64/python3.6/multiprocessing/pool.py", line 44, in mapstar
return list(map(*args))
File "cif2fasta.py", line 711, in wrapper_function
fasta_entry = create_fasta_entry2(cif2fasta)
File "cif2fasta.py", line 613, in create_fasta_entry2
protein_description = cif2fasta.protein_description()
File "cif2fasta.py", line 265, in protein_description
protein_description = struct.getValue('pdbx_descriptor')
File "/home/sandhyap/.local/lib/python3.6/site-packages/pdbx/reader/PdbxContainers.py", line 464, in getValue
return self._rowList[rowI][self._attributeNameList.index(attribute)]
ValueError: 'pdbx_descriptor' is not in list
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "cif2fasta.py", line 791, in
main()
File "cif2fasta.py", line 784, in main
fastas = pool.map(wrapper_function, paths)
File "/usr/lib64/python3.6/multiprocessing/pool.py", line 266, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "/usr/lib64/python3.6/multiprocessing/pool.py", line 644, in get
raise self._value
ValueError: 'pdbx_descriptor' is not in list

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