cmdcolin / mafviewer

A JBrowse plugin to view multiple alignment format (MAF) files
26 stars 4 forks source link

Failed to load resource: MAFViewer/main. #26

Open span615 opened 1 year ago

span615 commented 1 year ago

屏幕截图 2023-04-15 135601

cmdcolin commented 1 year ago

It's kinda strict, you might need to name the folder exactly "plugins/MAFViewer"

cmdcolin commented 1 year ago

And then re-run setup.sh after placing it there https://jbrowse.org/docs/faq.html#how-do-i-use-plugins-with-jbrowse

cmdcolin commented 1 year ago

also, I just built this package for a user, it is a copy of jbrowse with the MAFViewer added in

https://drive.google.com/file/d/1Yv-7tgjbROwss8PZY64Cg4cKCJfmrB0Q/view?usp=sharing

my steps for building were essentially like this

git clone https://github.com/GMOD/jbrowse
cd jbrowse
cd plugins
git clone https://github.com/cmdcolin/mafviewer MAFViewer
cd ../
nvm use 10 # use node 10 for running setup.sh
./setup.sh
rm -rf .git # remove unnecessary stuff for sending to you
rm -rf node_modules # remove unnecessary stuff for sending to you
rm -rf extlib # remove unnecessary stuff for sending to you
cd ..
tar czvf jbrowse.tar.gz jbrowse

can take it or leave it, but may help skip odd steps during build

span615 commented 1 year ago

Thank you very much, this is very useful