Hello,
I am currently use IsoQuant to quantify human and viral read by nanopore sequencing.
I made a gtf of my virus that I merge it to the human GTF.
I run IsoQuant with this command line :
python3 isoquant.py --data_type ont --bam barcode01withtrimming_old.bam barcode07withtrimming_old.bam --reference
GRCh38.p13human_genome_primary_asembly_PLUS_IAVcRNAs_seq_corrected.fna --genedb GCF_000001405.39_
GRCh38.p13_genomic_IAV_OMv2.gtf --complete_genedb --output all_data/ --prefix ONT_2samples --labels A1 A2 --report_novel_unspliced true
And here the log:
2023-07-05 16:52:13,056 - INFO - Running IsoQuant version 3.3.0
2023-07-05 16:52:13,057 - WARNING - Output folder already contains a previous run, will be overwritten.
2023-07-05 16:52:13,069 - WARNING - ../Projet_Influenza/all_data/ONT_2samples folder already exists, some files may be overwritten
2023-07-05 16:52:13,069 - WARNING - ../Projet_Influenza/all_data/ONT_2samples/aux folder already exists, some files may be overwritten
2023-07-05 16:52:13,070 - INFO - === IsoQuant pipeline started ===
2023-07-05 16:52:13,072 - INFO - Converting gene annotation file to .db format (takes a while)...
2023-07-05 16:52:13,078 - CRITICAL - IsoQuant failed with the following error, please, submit this issue to https://github.com/ablab/IsoQuant/issuesTraceback (most recent call last):
File "isoquant.py", line 698, in
main(sys.argv[1:])
File "isoquant.py", line 692, in main
run_pipeline(args)
File "isoquant.py", line 631, in run_pipeline
args.genedb = convert_gtf_to_db(args)
File "/mnt/d/Corentin/IsoQuant/src/gtf2db.py", line 110, in convert_gtf_to_db
gtf_filename, genedb_filename = convert_db(gtf_filename, genedb_filename, gtf2db, args)
File "/mnt/d/Corentin/IsoQuant/src/gtf2db.py", line 158, in convert_db
convert_fn(gtf_filename, genedb_filename, args.complete_genedb)
File "/mnt/d/Corentin/IsoQuant/src/gtf2db.py", line 95, in gtf2db
gffutils.create_db(gtf, db, force=True, keep_order=True, merge_strategy='error',
File "/home/corentin/.local/lib/python3.8/site-packages/gffutils/create.py", line 1359, in create_db
iterator = iterators.DataIterator(kwargs)
File "/home/corentin/.local/lib/python3.8/site-packages/gffutils/iterators.py", line 310, in DataIterator
return _FileIterator(_kwargs)
File "/home/corentin/.local/lib/python3.8/site-packages/gffutils/iterators.py", line 89, in init
_peek = self.peek(checklines)
File "/home/corentin/.local/lib/python3.8/site-packages/gffutils/iterators.py", line 117, in peek
for i, feature in enumerate(self._custom_iter()):
File "/home/corentin/.local/lib/python3.8/site-packages/gffutils/iterators.py", line 154, in _custom_iter
yield feature_from_line(line, dialect=self.dialect)
File "/home/corentin/.local/lib/python3.8/site-packages/gffutils/feature.py", line 449, in feature_from_line
attrs, _dialect = parser._split_keyvals(attr_string, dialect=dialect)
File "/home/corentin/.local/lib/python3.8/site-packages/gffutils/parser.py", line 349, in _split_keyvals
raise AttributeStringError(
gffutils.exceptions.AttributeStringError: Internally inconsistent attributes formatting: some have repeated keys, some do not.
Do you think there is a mistake in my annotation file or something else?
Thank you for your help.
Corentin
Hello,
I am currently use IsoQuant to quantify human and viral read by nanopore sequencing.
I made a gtf of my virus that I merge it to the human GTF.
I run IsoQuant with this command line :
python3 isoquant.py --data_type ont --bam barcode01withtrimming_old.bam barcode07withtrimming_old.bam --reference
GRCh38.p13human_genome_primary_asembly_PLUS_IAVcRNAs_seq_corrected.fna --genedb GCF_000001405.39_
GRCh38.p13_genomic_IAV_OMv2.gtf --complete_genedb --output all_data/ --prefix ONT_2samples --labels A1 A2 --report_novel_unspliced true
And here the log:
2023-07-05 16:52:13,056 - INFO - Running IsoQuant version 3.3.0
2023-07-05 16:52:13,057 - WARNING - Output folder already contains a previous run, will be overwritten.
2023-07-05 16:52:13,069 - WARNING - ../Projet_Influenza/all_data/ONT_2samples folder already exists, some files may be overwritten
2023-07-05 16:52:13,069 - WARNING - ../Projet_Influenza/all_data/ONT_2samples/aux folder already exists, some files may be overwritten
2023-07-05 16:52:13,070 - INFO - === IsoQuant pipeline started ===
2023-07-05 16:52:13,072 - INFO - Converting gene annotation file to .db format (takes a while)...
2023-07-05 16:52:13,078 - CRITICAL - IsoQuant failed with the following error, please, submit this issue to https://github.com/ablab/IsoQuant/issuesTraceback (most recent call last):
File "isoquant.py", line 698, in
main(sys.argv[1:])
File "isoquant.py", line 692, in main
run_pipeline(args)
File "isoquant.py", line 631, in run_pipeline
args.genedb = convert_gtf_to_db(args)
File "/mnt/d/Corentin/IsoQuant/src/gtf2db.py", line 110, in convert_gtf_to_db
gtf_filename, genedb_filename = convert_db(gtf_filename, genedb_filename, gtf2db, args)
File "/mnt/d/Corentin/IsoQuant/src/gtf2db.py", line 158, in convert_db
convert_fn(gtf_filename, genedb_filename, args.complete_genedb)
File "/mnt/d/Corentin/IsoQuant/src/gtf2db.py", line 95, in gtf2db
gffutils.create_db(gtf, db, force=True, keep_order=True, merge_strategy='error',
File "/home/corentin/.local/lib/python3.8/site-packages/gffutils/create.py", line 1359, in create_db
iterator = iterators.DataIterator(kwargs)
File "/home/corentin/.local/lib/python3.8/site-packages/gffutils/iterators.py", line 310, in DataIterator
return _FileIterator(_kwargs)
File "/home/corentin/.local/lib/python3.8/site-packages/gffutils/iterators.py", line 89, in init
_peek = self.peek(checklines)
File "/home/corentin/.local/lib/python3.8/site-packages/gffutils/iterators.py", line 117, in peek
for i, feature in enumerate(self._custom_iter()):
File "/home/corentin/.local/lib/python3.8/site-packages/gffutils/iterators.py", line 154, in _custom_iter
yield feature_from_line(line, dialect=self.dialect)
File "/home/corentin/.local/lib/python3.8/site-packages/gffutils/feature.py", line 449, in feature_from_line
attrs, _dialect = parser._split_keyvals(attr_string, dialect=dialect)
File "/home/corentin/.local/lib/python3.8/site-packages/gffutils/parser.py", line 349, in _split_keyvals
raise AttributeStringError(
gffutils.exceptions.AttributeStringError: Internally inconsistent attributes formatting: some have repeated keys, some do not.
Do you think there is a mistake in my annotation file or something else?
Thank you for your help.
Corentin