Giter VIP home page Giter VIP logo

Comments (4)

CeliaRodrigues avatar CeliaRodrigues commented on June 16, 2024

I do see now in the genome folder that the Nextclade version that it downloaded is this one: nextclade_sars-cov-2_MN908947_2022-06-14T12_00_00Z
so that is the one that it is using.

How can I make it use the most recent one? I thought that adding it to the command line, it would overwrite the version from the module.

from viralrecon.

CeliaRodrigues avatar CeliaRodrigues commented on June 16, 2024

Actually I went in the modules and added -i before $fasta in the main.nf files that are in the nextclade folder. That one was fixed and I got a different error: Error: at least one of output path arguments required: --output-json, --output-csv, --output-tsv-clades-only, --output-tsv, --output-tree
So I will try to do the same for these and report back.

from viralrecon.

CeliaRodrigues avatar CeliaRodrigues commented on June 16, 2024

I added output lines in the main.nf from nextclade/run folder. Could you correct them because I am not sure I am using $prefix correctly. This is how that section is looking now:
nextclade \
run \
$args \
--jobs $task.cpus \
--input-dataset $dataset \
--output-all ./ \
--output-json ./${prefix} \
--output-csv ./${prefix} \
--output-tsv ./${prefix} \
--output-tsv-clades-only ./${prefix} \
--output-tree ./${prefix} \
--output-all ./${prefix} \
--output-basename ${prefix} \
-i $fasta

from viralrecon.

svarona avatar svarona commented on June 16, 2024

Hi @CeliaRodrigues ! It's weird because for us is enough with this code to work:

nextclade \
    run \
     \
    --jobs 2 \
    --input-dataset nextclade_sars-cov-2_MN908947_2024-05-08--11-39-52Z \
    --output-all ./ \
    --output-basename SAMPLE3_SE \
    SAMPLE3_SE.consensus.fa

It does not seem to need all those params you're showing. Might it be related to the nextclade version? Which version are you using?

We use these to make nextclade always run in the latest version for SARS-CoV-2:

params.yml

nextclade_dataset_name: 'sars-cov-2'
nextclade_dataset: false
nextclade_dataset_tag: '2024-05-08--11-39-52Z'

custom.config:

withName: 'NEXTCLADE_DATASETGET|NEXTCLADE_RUN' {
container = 'https://depot.galaxyproject.org/singularity/nextclade:3.4.0--h9ee0642_0'
}

Are you using latest nextflow version and latest nextclade version? Let me know if you manage to solve the problem please 😄

from viralrecon.

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.