I have tried GTFs from several sources, including Homo_sapiens.GRCh38.110.gtf https://ftp.ensembl.org/pub/release-110/gtf/homo_sapiens/Homo_sapiens.GRCh38.110.gtf.gz; also from NCBI, both mouse and human; but I keep getting this error:
pybedtools.helpers.BEDToolsError:
Command was:
bedtools subtract -s -b /tmp/pybedtools.ltn85in9.tmp -a /tmp/pybedtools._7stsyty.tmp
Error message was:
Error: unable to open file or unable to determine types for file /tmp/pybedtools._7stsyty.tmp
Please ensure that your file is TAB delimited (e.g., cat -t FILE).
Also ensure that your file has integer chromosome coordinates in the expected columns (e.g., cols 2 and 3 for BED).
Here is an example command:
/opt/SCAPE/main.py prepare --gtf chr1.sort.gtf --prefix chr1_sort
I checked and see no signs of anything but tab delimiters in the gtfs; spaces are only found in the last column; if I try to get rid of those spaces, other issues arise (e.g. UnboundLocalError: cannot access local variable 'gene_type_id' where it is not associated with a value)
BTW I do get a _utr.bed file, but have no idea if it is finalized.
Do you have any idea about this? Where is it trying to write temporary files? I can read/write /tmp but don't see the files mentioned. It would be nice if you included a small GTF in your example_data to help with debugging.
Thanks for any help you can provide!
Mitch
I have tried GTFs from several sources, including Homo_sapiens.GRCh38.110.gtf https://ftp.ensembl.org/pub/release-110/gtf/homo_sapiens/Homo_sapiens.GRCh38.110.gtf.gz; also from NCBI, both mouse and human; but I keep getting this error:
Here is an example command:
/opt/SCAPE/main.py prepare --gtf chr1.sort.gtf --prefix chr1_sortI checked and see no signs of anything but tab delimiters in the gtfs; spaces are only found in the last column; if I try to get rid of those spaces, other issues arise (e.g.
UnboundLocalError: cannot access local variable 'gene_type_id' where it is not associated with a value)BTW I do get a
_utr.bedfile, but have no idea if it is finalized.Do you have any idea about this? Where is it trying to write temporary files? I can read/write
/tmpbut don't see the files mentioned. It would be nice if you included a small GTF in your example_data to help with debugging.Thanks for any help you can provide!
Mitch