Code Monkey home page Code Monkey logo

Comments (4)

etal avatar etal commented on August 13, 2024

Are there any blank fields in your .cnr file? Which columns do they occur in?

from cnvkit.

sainsachiko avatar sainsachiko commented on August 13, 2024

Hi, thank you for replying. My cnr have NAs in weight columns. You can find the file here

from cnvkit.

Sanat-Mishra avatar Sanat-Mishra commented on August 13, 2024

Hi @sainsachiko, after spending hours trying to debug the same issue, I was able to get it to run. Theres's some issue with the R env that DNACopy needs to run segmentation. so you'll have to run CNVkit from within an environment. I kept running into a compatibility issue with Conda until I used the yaml file on the repo to make it.

There are two ways you get CNVkit to run - i) Using the docker image and running everything in that container ii) Build a Conda env with the yaml file (NOTE - This yaml will work on Mac OS only, further I am on an Apple Silicon M2 chip, so that could further nuance the dependency list).

name: cnvkit
channels:
    - conda-forge
    - bioconda
    - defaults
dependencies:
    - python>=3.8
    - biopython >=1.80
    - matplotlib >=3.5.2
    - numpy >=1.24.2
    - pandas >=1.5.3
    - pyfaidx >=0.7.1
    - pytest
    - reportlab >=3.6.12
    - ruff
    - scikit-learn >=1.1.0
    - scipy >=1.10.1
    - tox

Once set up, don't forget to pip install CNVkit!

from cnvkit.

bounlu avatar bounlu commented on August 13, 2024

@Sanat-Mishra

I am using the Docker image but still get the same error.

@etal

In my .cnr file, the weights column are empty for antitarget regions.

from cnvkit.

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.