Open brettChapman opened 1 year ago
Hi @chfi any feedback on this? I tried the web version and had the same issues with including gene labels from a BED file. Thanks
In the web version, you need to click on the BED rows in the list you want to toggle annotations on/off for, after you've loaded the BED file. There's also a bug where you have to move the view around a bit (just click & drag the 2D view) before they're actually displayed. If that still doesn't work, I'd probably have to see the GFA file to be able to debug further.
Hi @chfi
I'm having issues with getting the web version to run:
I follow the installation instructions here: https://github.com/chfi/waragraph/tree/web/web
I'm running on a macbook pro M1
(base) MUMAC121:web brettchapman$ npx parcel index.html
Server running at http://localhost:1234
🚨 Build failed.
@parcel/transformer-css: Could not resolve module "../lightningcss.darwin-arm64.node" from "/Users/brettchapman/Desktop/waragraph/waragraph/web/node_modules/lightningcss/node/index.js"
Error: Could not resolve module "../lightningcss.darwin-arm64.node" from "/Users/brettchapman/Desktop/waragraph/waragraph/web/node_modules/lightningcss/node/index.js"
at NodePackageManager.resolveInternal (/Users/brettchapman/Desktop/waragraph/waragraph/web/node_modules/@parcel/package-manager/lib/index.js:3681:21)
at NodePackageManager.resolveSync (/Users/brettchapman/Desktop/waragraph/waragraph/web/node_modules/@parcel/package-manager/lib/index.js:3576:29)
at NodePackageManager.requireSync (/Users/brettchapman/Desktop/waragraph/waragraph/web/node_modules/@parcel/package-manager/lib/index.js:3393:33)
at m.require (/Users/brettchapman/Desktop/waragraph/waragraph/web/node_modules/@parcel/package-manager/lib/index.js:3418:25)
at require (node:internal/modules/helpers:119:18)
at Object.<anonymous> (/Users/brettchapman/Desktop/waragraph/waragraph/web/node_modules/lightningcss/node/index.js:21:22)
at Module._compile (node:internal/modules/cjs/loader:1233:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1287:10)
at Module.load (node:internal/modules/cjs/loader:1091:32)
at NodePackageManager.load (/Users/brettchapman/Desktop/waragraph/waragraph/web/node_modules/@parcel/package-manager/lib/index.js:3431:15)
Try npm i lightningcss
(https://github.com/parcel-bundler/lightningcss/issues/323)
Hi @chfi Thanks. That worked.
I tried as you suggested with the BED file, but it still doesn't display the gene labels.
I'll attach my zipped up gfa, tsv and bed file here. Thanks.
@brettChapman I pushed a fix to the web branch that should solve it
Hi
I'm currently trying to load in a BED or GFF file when loading in the GFA. No gene coordinates are overlayed.
I've tried with a BED file and GFF:
GFF:
BED:
I modified the chromosome name to match the path name in the graph, and I'm only including one genome reference in the graph of the 5 genomes.
and