Code Monkey home page Code Monkey logo

mtoolbox_snakemake's Introduction

mtoolbox_snakemake's People

Contributors

clody23 avatar domenico-simone avatar robertopreste avatar tbarton-owen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mtoolbox_snakemake's Issues

seqtk installation

Please add seqtk among the packages to install in env/mtoolbox.yaml

Thanks
C

question about reference fasta

Hi, thank you for this convenient tool.

I'd like to call variants using human mtDNA. In the reference_genomes.tab, we need to specify ref_genome_mt and ref_genome_n.

I'd like to use hg19 as a reference. I downloaded genome data of hg19, but this genome data include chrM(and chrMT).
Should I remove mtDNA sequence from hg19 genome date when I use hg19 as ref_genome_n?
then Should I speficy rCRS fasta data for ref_genome_mt?

best regards,

Directory cannot be locked if previous snakemake run failed

I often get this error when the first run fails and have to rerun the analysis. This occurs when I run MToolBox as:

MToolBox-variant-calling -rpk -j 5 --cluster-config cluster.yaml --latency-wait 60 --cluster 'sbatch -p cluster7 -n {cluster.threads} -t {cluster.time} -o {cluster.stdout}'

This is the error:
Error: Directory cannot be locked. Please make sure that no other Snakemake process is trying to create the same files in the following directory:

If you are sure that no other instances of snakemake are running on this directory, the remaining lock was likely caused by a kill signal or a power loss. It can be removed with the --unlock argument.

Running the container as Singularity image

We've migrated to an air-gap system with no outgoing internet connection and I can no longer get MToolBox to work.

I filed an issue a month ago but haven't heard anything back (mitoNGS/MToolBox#96) so I'm trying to get a container solution working.

However, I need some help getting this to run: https://hub.docker.com/r/mitongs/mtoolbox

It's not clear to me how I can edit/provide-symlinks for analysis.tab, datasets.tab, reference_genomes.tab and provide the datasets to the container.

Question 1:

Can you please help show me how the syntax would look like for that?

Question 2:

I'm able to activate the mtoolbox conda environment from the Docker container:

$ sudo docker run -it mitongs/mtoolbox:latest
 :: MToolBox ::  / >>> source activate mtoolbox
(mtoolbox)  :: MToolBox ::  / >>> 

However, I'm not able to do so from the Singularity container?
Can you spot what I'm doing wrong?

$ sudo singularity build --sandbox mtoolbox.sif docker://mitongs/mtoolbox:latest
$ singularity run mtoolbox.sif 
Singularity> source activate mtoolbox
Could not find conda environment: mtoolbox
You can list all discoverable environments with `conda info --envs`.

U1 and U2

Please merge U1 and U2 into the same file.

Please add a second switch to skip U orphans at the first mapping step.

Thanks
C

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.