Gaius-Augustus / GUSHR

Generating UTRs from SHort Reads
GNU General Public License v3.0
9 stars 2 forks source link

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

Open joleneyue opened 1 year ago

joleneyue commented 1 year ago

dear developer,

the gushr example run without errors.

./gushr.py -t example/augustus.gtf -b example/RNAseq.bam -g example/genome.fa -o utrs -a /home/ubuntu/miniconda3/bin/ -j /usr/bin/

./gushr.py -t analysis/Helsinki_Plus_Feywei_nonOverlapping_annotation.gff -b analysis/Cday10_1.bam -g analysis/assembly.fasta.PolcaCorrected.FINAL.fasta -o utrs -a /home/ubuntu/miniconda3/bin/ -j /usr/bin/

the actual run spit out this error:

Traceback (most recent call last): File "./gushr.py", line 752, in merge_original_with_utrs(args.gtf, utrs_gtf) File "./gushr.py", line 660, in merge_original_with_utrs txid = re.search(r'transcript_id \"([^"]+)\"', line).group(1) AttributeError: 'NoneType' object has no attribute 'group'

could you let me know what could be the problem?

Cheers, Jolene