I tried to load the gff module that can be found here: https://github.com/GMOD/gff-js
but even after reading all posts on loading npm module i can’t get it to work. Since I’m rather new to javascript+observable I might oversee something.
gff = require('gff')
Error: invalid module
gff = require('@gmod/gff').default
Error: undefined
gff = require('https://raw.githubusercontent.com/GMOD/gff-js/master/src/index.js')
Error: unable to load module
In the end I would like to read a gzipped file from i.e.:
ftp://ftp.ncbi.nlm.nih.gov/genomes/all/GCA/003/008/175/GCA_003008175.1_ASM300817v1/GCA_003008175.1_ASM300817v1_genomic.gff.gz and visualize some content
Any help is appreciated.