Git Product home page Git Product logo

Comments (6)

eharkins avatar eharkins commented on June 17, 2024

Hi Bill,

Sorry you're having trouble!

the partis code inside the linearham Docker image doesn't have your recent fixes

this is accurate, since I haven't updated the partis submodule in linearham since @psathyrella's changes that I think you are referring to. I can get on this but in the meantime, since you successfully ran partis with the partis Docker container, let's focus on getting Linearham to run for you for now:

nor mafft

is not accurate regarding the latest linearham image (matsengrp/linearham:latest) since I have added mafft after #56. Hopefully you should not need mafft if you are using --partis-yaml-file, but the more important point is that this tells us you don't have the latest linearham image, so let's rule out that updating doesn't solve your problem.

Try doing docker pull matsengrp/linearham:latest and then rerunning the container with your command and let me know if you are still having trouble.

Thanks,
Eli

from linearham.

eharkins avatar eharkins commented on June 17, 2024

Regarding :

I've mapped in the linearham directory with all executables to be just below the directory where I created the partis outputs

, if you are able to share your docker command, that will help me try to understand if it is an issue understanding inputs as you say. Thanks!

from linearham.

wfs-lilly avatar wfs-lilly commented on June 17, 2024

from linearham.

eharkins avatar eharkins commented on June 17, 2024

We also use singularity on our HPC for the same reasons.

I am able to reproduce your issue in both regular Docker and Singularity. After a lot of trying to figure out what is causing scons to think that the target outputs exist, I think it has something to do with --outdir being an absolute path. No idea why this causes the issue, but I had success doing something like the following:

cd ~
mkdir lh_output
singularity shell --pwd /linearham -B $(pwd)/lh_output:/linearham/output linearham.sif

and then running the following once in the container:

scons --run-partis --fasta-path=data/liao_dataset.fasta --all-clonal-seqs \
    && scons --run-linearham --template-path=templates/revbayes_template.rev --mcmc-iter=25 --mcmc-thin=1 --tune-iter=0 --seed-seq=KC576081.1

Here I am just using the example linearham command from the Dockerfile, but the point is I am just using the default output dir and binding that with singularity to ~/lh_output by doing -B $(pwd)/lh_output:/linearham/output.

This way I can just use the standard output directory, since there seems to be some issue with specifying output directories like you have done with outdir=/home/v5x3838/v5x3838/linearham/_output/ and when I tried similar absolute paths.

Hope this helps and stay posted in case I figure out what scons is thinking when it is telling us scons: '.' is up to date.

from linearham.

wfs-lilly avatar wfs-lilly commented on June 17, 2024

Thank you -- this got me running.

from linearham.

eharkins avatar eharkins commented on June 17, 2024

@wfs-lilly to be clear, if by

the linearham analysis, hopefully in a graphical form as in your paper

you mean the lineage plots like this:

Screen Shot 2019-11-18 at 2 31 15 PM

, you need to tell linearham about a sequence of interest in your cluster via --seed-seq so that it can create plots like this one which visualize probable lineages to the sequence of interest.

Sorry I didn't mention this before, I overlooked your stated aim initially in this issue. You can still run Linearham in the absence of a sequence of interest, which will infer naive sequences along with other cluster properties, including probable phylogenetic trees. See the "output files" section of the readme for details about these outputs.

from linearham.

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.