GithubHelp home page GithubHelp logo

Random error with NetMHCII about nextneopi HOT 4 CLOSED

icbi-lab avatar icbi-lab commented on June 3, 2024
Random error with NetMHCII

from nextneopi.

Comments (4)

mantczakaus avatar mantczakaus commented on June 3, 2024

Hi,

I did some investigation and I think the problem lies in the concurrent runs.

I have submitted the following command five times almost at once and directing results into different folders, here is just an example:

/opt/conda/bin/python /opt/iedb/mhc_ii/mhc_II_binding.py NetMHCIIpan DRB1*13:01 patient1_tumor.25.fa.split_401-600 25 > results_15/result_1131.txt 2> results_15/error_1131.txt

I think it’s because of the concurrent runs because when I run NetMHCIIpan sequentially one by one it all goes well.

I contacted Morten Nielsen who provides technical support for NetMHCIIpan and I'm waiting for his advice but in the meantime I tried to force the pipeline to run pVACseq sequentially instead of in parallel. I tried to do this by using buffer directive in pVACseq process like so:

process 'pVACseq' {

    tag "${meta.sampleName}"

    label 'pVACtools'

    input:
    tuple(
        val(meta),
        path(vep_phased_vcf_gz),
        path(anno_vcf),
        val(hla_types),
        val(tumor_purity),
        path(iedb_install_ok)
    ) from mkPhasedVCF_out_pVACseq_ch0
        .join(vcf_vep_ex_gz, by: [0])
        .combine(hlas.splitText(), by: 0)
        .combine(purity_estimate_ch1, by: 0)
        .combine(iedb_install_out_ch)
		.buffer(1)

But all it did was it did not trigger any of the pVACseq processes. Could you recommend a workaround? Sth that will make pVACseq run one by one and not in parallel for all the HLA alleles?

from nextneopi.

riederd avatar riederd commented on June 3, 2024

Hi,
that's interesting. I never hit that issue. I'll have a look into it as well, but right now I'm a bit busy.
Did you try to reduce the number of cpus for pVACseq, e.g.:
change confg/process.config form

    withName:pVACseq {
        cpus = 10
    }

to

    withName:pVACseq {
        cpus = 2
    }

from nextneopi.

mantczakaus avatar mantczakaus commented on June 3, 2024

Hi, thanks for coming back to me. The developer of NetMHCIIpan was unable to reproduce, he recommended for me to contact IEDB support - which is what I'm going to do. In the meantime someone from Nextflow community recommended to set maxForks to 1 which worked! pVACseq is run one by one and the pipelien run successfully! Was your recommendation to setting cpus to 1 with the same aim? https://www.nextflow.io/docs/latest/process.html#maxforks

from nextneopi.

riederd avatar riederd commented on June 3, 2024

Hi,
I'm glad that the maxForks worked. It is not exactly the same as setting the cpus, but I'd expect that the effect will be similar.

from nextneopi.

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.