GangCaoLab / CoolBox

Jupyter notebook based genomic data visualization toolkit.
https://gangcaolab.github.io/CoolBox/index.html
GNU General Public License v3.0
224 stars 37 forks source link

plot DNA feature error #85

Open yangfeizZZ opened 1 year ago

yangfeizZZ commented 1 year ago

I have a GTF file. When i use coolbox to draw the DNA duture with GTF file on jupyter notebook, i occured an error : CalledProcessError: Command '['tabix', '-p', 'gff', '../../reference/huangniu/GCF_002263795.1_ARS-UCD1.2_genomic.gtf.bgz']' returned non-zero exit status 1.

Then i run "tabix -p gff ../../reference/huangniu/GCF_002263795.1_ARS-UCD1.2_genomic.gtf.bgz',it also occured an error: [E::hts_idx_push] Unsorted positions on sequence #2: 148410857 followed by 66847172

When i open the *.gtf.bgz, i found it not sort in some lines, such as

微信截图_20230630230504

Then i run "grep -v ^"#" GCF_002263795.1_ARS-UCD1.2_genomic_filter.gtf | sort -t$'\t' -k1,1 -k4,4n", the result is true:

微信截图_20230630231659

Finally, coolbox is working.