Open hvbakel opened 5 years ago
This is usually a sequence ID mis-match issue. That said, you are on older versions of Cupcake - can you please update to latest (v7.5) first and if errors remain, can you share with me your command that you used and the sequence format? (just give me like the first 5 sequence IDs)
I am getting the same thing. Traceback below:
Traceback (most recent call last): File "/opt/conda/bin/collapse_isoforms_by_sam.py", line 235, in <module> main(args) File "/opt/conda/bin/collapse_isoforms_by_sam.py", line 185, in main for recs in iter: # recs is {'+': list of list of records, '-': list of list of records} File "/opt/conda/lib/python3.7/site-packages/cupcake/tofu/branch/branch_simple2.py", line 81, in iter_gmap_sam records = [next(quality_alignments)] File "/opt/conda/lib/python3.7/site-packages/cupcake/tofu/branch/branch_simple2.py", line 108, in get_quality_alignments for r in gmap_sam_reader: File "/opt/conda/lib/python3.7/site-packages/cupcake/io/BioReaders.py", line 377, in __next__ return GMAPSAMRecord(line, self.ref_len_dict, self.query_len_dict) File "/opt/conda/lib/python3.7/site-packages/cupcake/io/BioReaders.py", line 182, in __init__ self.process(record_line, ref_len_dict, query_len_dict) File "/opt/conda/lib/python3.7/site-packages/cupcake/io/BioReaders.py", line 400, in process self.sID = raw[2] IndexError: list index out of range
Here is my command:
collapse_isoforms_by_sam.py --input m64120_200619_171832.flnc.clustered.fasta -s mapped_isoseq_reads/m64120_200619_171832.flnc.clustered.fasta.sorted.sam --dun-merge-5-shorter -o m64120_200619_171832collapse_isoforms_by_sam.py --input m64120_200619_171832.flnc.clustered.fasta -s mapped_isoseq_reads/m64120_200619_171832.flnc.clustered.fasta.sorted.sam --dun-merge-5-shorter -o m64120_200619_171832
Does collapse_isoforms_by_sam.py take fasta as input?
My issue ended up being an upstream isoseq3 issue. I was on version 3.2.2 and upgraded to 3.3.0. Must have been something with the headers that were coming out of v.3.2.2 output vs. 3.3.0.
Dear Liz, When running cDNA_cupcake, I'm encountering the following error:
Any idea what the issue could be?