- Posts: 6
Martinize Script
- AlexC
- Topic Author
- Offline
- Fresh Boarder
martinize.py -f fg_A6R.pdb -o A6R.top -x A6R.pdb -dssp ./dssp -p backbone -v
...
Traceback (most recent call last):
File "martinize.py", line 4376, in <module>
main(options)
File "martinize.py", line 3975, in main
chains = [ Chain(options,) for chain in pdbChains(atoms) ]
File "martinize.py", line 3074, in __init__
self.breaks = self.type() in ("Protein") and breaks(self.residues) or []
File "martinize.py", line 2909, in breaks
return [ i+1 for i in range(len(bb)-1) if residueDistance2(bb,bb[i+1]) > cutoff]
File "martinize.py", line 2899, in residueDistance2
return min([distance2(i,j) for i in r1 for j in r2])
ValueError: min() arg is an empty sequence
I don't know if anyone can help with this, but any help would be greatly appreciated.
Alex
Please Log in or Create an account to join the conversation.
- xavier
- Offline
- Admin
- Posts: 416
AlexC wrote: I'm fairly new to MARTINI but i've had good results from the tutorials. Now I'm trying to use the martinize script on a PDB file I have created for the peptide A6R. However, I keep getting the following error/traceback:
martinize.py -f fg_A6R.pdb -o A6R.top -x A6R.pdb -dssp ./dssp -p backbone -v
...
Traceback (most recent call last):
File "martinize.py", line 4376, in <module>
main(options)
File "martinize.py", line 3975, in main
chains = [ Chain(options,) for chain in pdbChains(atoms) ]
File "martinize.py", line 3074, in __init__
self.breaks = self.type() in ("Protein") and breaks(self.residues) or []
File "martinize.py", line 2909, in breaks
return [ i+1 for i in range(len(bb)-1) if residueDistance2(bb,bb[i+1]) > cutoff]
File "martinize.py", line 2899, in residueDistance2
return min([distance2(i,j) for i in r1 for j in r2])
ValueError: min() arg is an empty sequence
I don't know if anyone can help with this, but any help would be greatly appreciated.
Alex
Please Log in or Create an account to join the conversation.
- AlexC
- Topic Author
- Offline
- Fresh Boarder
- Posts: 6
Please Log in or Create an account to join the conversation.
- djurre
- Offline
- Admin
- Posts: 272
Thanks for letting us know!
Please Log in or Create an account to join the conversation.