I've found the origin of the problem, was a function called merge_intervals at _annotation_intervaltree.py, it could only merge two overlapped region, when the number of regions raised to three or more, the script would raise these error, like this:
The simplest solution for me was to remove those contigs in the GTF file,
cat GRCh38_GENCODE_rmsk_TE.gtf|grep -i chr > new_TE_remove_contig.gtf
But I think it would be very nice of you to define a new function which could merge several overlapped regions rather than only two.
Hello, Recently I met a problem when annotating the TE at family level, here was the error report:
Here was a preview of the GTF file
I've found the origin of the problem, was a function called
merge_intervals
at_annotation_intervaltree.py
, it could only merge two overlapped region, when the number of regions raised to three or more, the script would raise these error, like this:The simplest solution for me was to remove those contigs in the GTF file,
cat GRCh38_GENCODE_rmsk_TE.gtf|grep -i chr > new_TE_remove_contig.gtf
But I think it would be very nice of you to define a new function which could merge several overlapped regions rather than only two.Thanks, Xiufeng