Giter Site home page Giter Site logo

Comments (6)

danielecook avatar danielecook commented on May 20, 2024

@gevro thank you for reporting. Can you share the command you are running?

from deepconsensus.

gevro avatar gevro commented on May 20, 2024
singularity run -W /data -B /scratch/projects/bin/deepconsensus/model:/model -B `pwd` /scratch/projects/bin/deepconsensus/deepconsensus_1.0.0.sif deepconsensus run --batch_size=1024 --batch_zmws=100 --cpus 4 --max_passes 20 --subreads_to_ccs=subreads_to_ccs.bam --ccs_bam=ccs.bam --checkpoint=/model/checkpoint --output=output.deepconsensus.fastq

from deepconsensus.

danielecook avatar danielecook commented on May 20, 2024

@gevro please try running singularity with a clean environment. I think passing --cleanenv should work.

singularity run \
  -W /data \
  -B /scratch/projects/bin/deepconsensus/model:/model \
  -B `pwd` \
  --cleanenv \
  /scratch/projects/bin/deepconsensus/deepconsensus_1.0.0.sif \
  deepconsensus run \
    --batch_size=1024 \
    --batch_zmws=100 \
    --cpus 4 \
    --max_passes 20 \
    --subreads_to_ccs=subreads_to_ccs.bam \
    --ccs_bam=ccs.bam \
    --checkpoint=/model/checkpoint \
    --output=output.deepconsensus.fastq

For whatever reason, it appears you are using a shared version of the python library from your machine/HPC:

/share/apps/python/3.8.6/intel/lib/python3.8/site-packages/pandas/__init__.py

And this appears to be breaking things.

from deepconsensus.

gevro avatar gevro commented on May 20, 2024

Now I'm getting this error:

2022-10-11 17:08:33.096036: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 AVX512F AVX512_VNNI FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
FATAL Flags parsing error: Unknown command line flag 'max_passes'
Pass --helpshort or --helpfull to see help on flags.

from deepconsensus.

danielecook avatar danielecook commented on May 20, 2024

We removed the --max_passes flag in this release because we have not provided any models with alternative numbers of passes. Please try removing this flag:

singularity run \
  -W /data \
  -B /scratch/projects/bin/deepconsensus/model:/model \
  -B `pwd` \
  --cleanenv \
  /scratch/projects/bin/deepconsensus/deepconsensus_1.0.0.sif \
  deepconsensus run \
    --batch_size=1024 \
    --batch_zmws=100 \
    --cpus 4 \
    --subreads_to_ccs=subreads_to_ccs.bam \
    --ccs_bam=ccs.bam \
    --checkpoint=/model/checkpoint \
    --output=output.deepconsensus.fastq

Also - the --max_passes, and --example_width flags are now dictated by the model params.json - so there is no need to set these flags.

from deepconsensus.

gevro avatar gevro commented on May 20, 2024

Ok working now. Thanks.

from deepconsensus.

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.