Error with MakeDb.py imgt

Issue #182 resolved
Aislinn Jennings created an issue

Hi.

I received my files back from IMGT/High-VQuest for TCR analysis.

I’m trying to parse IMGT output using MakeDb.y. I’ve attached an example of the commands:

MakeDb.py imgt -i CC02.txz -s CC02_quality-pass.fasta \

--extended --changeo

The analysis begins and gets to 5 or 10% then I keep getting the following error:

PROGRESS> 10:08:14 |#                   |   5% ( 17,890) 0.2 minTraceback (most recent call last):

File "/usr/local/lib/python3.9/site-packages/changeo/IO.py", line 747, in _dframe

frame = int(x)

ValueError: invalid literal for int() with base 10: '1, 2'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "/usr/local/bin/MakeDb.py", line 895, in <module>

args.func(**args_dict)

File "/usr/local/bin/MakeDb.py", line 441, in parseIMGT

output = writeDb(germ_iter, fields=fields, aligner_file=aligner_file, total_count=total_count, 

File "/usr/local/bin/MakeDb.py", line 271, in writeDb

for i, record in enumerate(records, start=1):

File "/usr/local/lib/python3.9/site-packages/changeo/IO.py", line 834, in __next__

db = self.parseRecord(summary, gapped, ntseq, junction)

File "/usr/local/lib/python3.9/site-packages/changeo/IO.py", line 808, in parseRecord

db.update(IMGTReader._parseJuncDetails(junction))

File "/usr/local/lib/python3.9/site-packages/changeo/IO.py", line 760, in _parseJuncDetails

result['d_frame'] = _dframe()

File "/usr/local/lib/python3.9/site-packages/changeo/IO.py", line 749, in _dframe

m = re.search(r'reading frame ([0-9])', x).group(1)

AttributeError: 'NoneType' object has no attribute 'group'

Would you have any ideas please?

Thank you so much.

Ash.

Comments (2)

  1. Log in to comment