Giter Site home page Giter Site logo

Comments (7)

nvnieuwk avatar nvnieuwk commented on August 17, 2024 1

Can you share your Dockerfile and command used @boyanboyue? Along with any specifications of the system your are trying to run this on (operating system, docker version...)

from annotsv.

lgmgeo avatar lgmgeo commented on August 17, 2024

Sorry, I can't help you. You should ask a computer specialist, depending on your network setup

from annotsv.

lgmgeo avatar lgmgeo commented on August 17, 2024

@nvnieuwk, do you have any advice?

from annotsv.

boyanboyue avatar boyanboyue commented on August 17, 2024

The Dockerfile I used is based on mamba base docker images with python=3.9 version.
Then I use this command "docker run -it -v /{xxx}/:/data {mamba.images} /bin/bash" to start a container.
In the container,I use "mamba install bioconda::annotsv=3.4 -y" to install annotsv.
After that I used "cd /xxx/conda/pkg/annotsv-3.4-py312hdfd78af_1/" into the directory with Makefile.
Then I used "make PREFIX=. install-human-annotation" to install human databse.
After that I used "cp -r share/AnnotSV /{xxx}/AnnotSV" to copy the database to a place that I can easily used next time.
Now,if I use "AnnotSV -annotationsDir ${share/AnnotSV} -genomeBuild ${GENOME} -SVinputFile ${BASENAME} -bedtools bedtools -outputFile ${SM} -outputDir ./ -overlap 80" to annotate a vcf file,it will be ok.
But if I start a new container and install the annotsv by the same way and don't install the database instead of attaching the database which I have copied to my computer to a container,and I used the same file and command to annotate,it will cost so long time in Annotation in progress part.

The information of opration system is below:
NAME="Ubuntu"
VERSION="20.04.5 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.5 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

Docker version is "Docker version 24.0.6, build ed223bc".

I think that this problem probably because of my actions.
Is there any index or cache maybe be made and not in the "share/AnnotSV" in the database installing time?

from annotsv.

nvnieuwk avatar nvnieuwk commented on August 17, 2024

Hi thank you for the thorough explanation. First of all can I suggest to add all those commands to you Dockerfile and create a container image like that? That way you won't have to rerun all those commands every time you want to use the tool. Alternatively, you can use quay.io/biocontainers/annotsv:3.4--py312hdfd78af_1 as your docker image. This image contains all the tooling already installed. You only need to supply the annotations directory to it with a volume (docker run -v <path_to_annotations>:/annotations quay.io/biocontainers/annotsv:3.4--py312hdfd78af_1 AnnotSV -annotationsDir /annotations ...)

from annotsv.

lgmgeo avatar lgmgeo commented on August 17, 2024

@boyanboyue, any news?

from annotsv.

boyanboyue avatar boyanboyue commented on August 17, 2024

I‘m sorry to reply after so long time.
I find something wrong in our machine and the situation I mentioned before is possible because of this reason.
I' busy dealing with machine things.
So sorry for my forgetting to reply.
Thanks a lot for your concern!

from annotsv.

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.