Open bordin89 opened 4 years ago
Thanks for reporting Nico.
Looks like an issue with white space formatting:
#=GS 1fujA02/13-109_211-221DE Myeloblastin
Should be:
#=GS 1fujA02/13-109_211-221 DE Myeloblastin
Looking into causes, fixes, and affected files now ...
For the record, there is also one empty stockholm file:
seed_alignments.sto/1.20.1070.10/seed_alignments/1.20.1070.10-FF-000001.sto
Note:
File "/cath/people2/ucbtnb4/venv/lib64/python3.6/site-packages/cathpy/core/util.py", line 653, in run
aln_file, self._parser_name.__name__))
This line doesn't exist in HEAD
- might be worth updating your local repo.
I tried uninstalling cathpy, updating pip and cathpy and I get cathpy-0.3.1.0. Is this the latest version? I still get some errors
`(venv) -bash-4.2$ cath-align-summary -d /data/v4_2_0/funfam/families/4.10.990.10 -f stockholm Traceback (most recent call last): File "/cath/people2/ucbtnb4/venv/lib64/python3.6/site-packages/cathpy/core/util.py", line 650, in run aln = self._file_parser(aln_file) File "/cath/people2/ucbtnb4/venv/lib64/python3.6/site-packages/cathpy/core/align.py", line 928, in from_stockholm assert sto_header.startswith('# STOCKHOLM 1.0') AssertionError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/cath/people2/ucbtnb4/venv/bin/cath-align-summary", line 54, in
Yup, cathpy
is currently on 0.3.10 in PyPi - I thought you might be using a local install (eg from GitHub)
I've just run this with a clean install (on rodan) and everything seemed to work.
$ hostname
rodan.biochem.ucl.ac.uk
$ pwd
/data/v4_3_0.staging/01-filter-alignments
$ head -n 5 cath-align-summary.log
# path aln_length seq_count dops gap_per
seed_alignments.sto/2.40.30.70/seed_alignments/2.40.30.70-FF-000021.sto 44 1 0.00 0.00
seed_alignments.sto/2.40.30.70/seed_alignments/2.40.30.70-FF-000023.sto 101 1 0.00 0.00
seed_alignments.sto/2.40.30.70/seed_alignments/2.40.30.70-FF-000007.sto 150 7 2.75 0.00
seed_alignments.sto/2.40.30.70/seed_alignments/2.40.30.70-FF-000011.sto 126 2 32.86 7.94
Did you try a clean install (ie completely clean venv
?)
Yep, clean venv and clean install.
I've encountered this issue when running cath-align-summary on 4.3 stockholms.
Here's the command I used:
Can we expect empty stockholm files? What seems to be the problem for this?