Coder Social home page Coder Social logo

Comments (7)

andrewwbutler avatar andrewwbutler commented on July 23, 2024

Hi,

Yes, for now a demo dataset is required. We will look into making this optional so it doesn't crash without one but the easiest solution currently is to just specify a demo file (can just be a trivial/dummy dataset to get it running).

from azimuth.

doncarlos999 avatar doncarlos999 commented on July 23, 2024

Thanks for the super quick response.
Where in the docker run command should I specify the demo dataset?

from azimuth.

andrewwbutler avatar andrewwbutler commented on July 23, 2024

You can specify it in the AzimuthApp command. E.g.

docker run -it -p 3838:3838 -v /path/to/reference:/reference-data:ro azimuth R -e "Azimuth::AzimuthApp(reference = '/reference-data', demodataset = 'demo.rds')"

Alternatively, we often use a config file to specify a lot of these kinds of things. You can see examples of those in the azimuth-references repo --- e.g. here. In that case the docker command would look more like.

docker run -it -p 3838:3838 -v /path/to/reference:/reference-data:ro azimuth R -e "Azimuth::AzimuthApp(config='/reference-data/config.json')"

from azimuth.

doncarlos999 avatar doncarlos999 commented on July 23, 2024

This solved the demo dataset problem. Thanks for that.
But now I get another error about missing homolog file:
"Homolog file doesn't exist at path provided:".
I manually downloaded the homolog file from 'https://seurat.nygenome.org/azimuth/references/homologs.rds' and added
homolog.table <- /path/to/homologs.rds; before the Azimuth run command but the error still appears. Is there a way to declare the path to the homolog file?
Thanks again for helping with this.

from azimuth.

andrewwbutler avatar andrewwbutler commented on July 23, 2024

You should be able to specify it similarly to the demodataset. E.g.

docker run -it -p 3838:3838 -v /path/to/reference:/reference-data:ro azimuth R -e "Azimuth::AzimuthApp(reference = '/reference-data', demodataset = 'demo.rds', homologs = 'homologs.rds')"

from azimuth.

doncarlos999 avatar doncarlos999 commented on July 23, 2024

Awesome, looks like it is working perfectly now. Thanks a lot for the help!

from azimuth.

andrewwbutler avatar andrewwbutler commented on July 23, 2024

Closing this thread as providing a demodataset should be optional now on the develop branch as of (#64).

from azimuth.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.