Coder Social home page Coder Social logo

Comments (6)

Phil9S avatar Phil9S commented on August 30, 2024

Thanks Thomas. I'm curious as to what circumstances would lead to a situation where you might attempt to process an empty BAM file? Did you purposefully invoke this error or did it occur by chance? Either way it's best to resolve it and attempt to make the pipeline as fool proof as possible. I'll update this issue once I have implemented a fix.

from swgs-absolutecn.

TBradley27 avatar TBradley27 commented on August 30, 2024

Hi Phil,

I will have to confess and say it was laziness/negligence on my part. I had a batch of samples to process. I ran the necessary alignments, but because I was working late, I forgot to check which files were empty/non-empty, and simply plugged all the bam files into the pipeline.

I guess the onus could be put on the user to do this themselves.

Thanks

from swgs-absolutecn.

Phil9S avatar Phil9S commented on August 30, 2024

Resolved in release v1.1.0

from swgs-absolutecn.

TBradley27 avatar TBradley27 commented on August 30, 2024

Hello,

I am afraid that this is still an issue for bam files which are non-empty and valid but nonetheless produce copy number plots with very high variance and NA values for the loess.span and loess.family columns

e.g.

image

from swgs-absolutecn.

Phil9S avatar Phil9S commented on August 30, 2024

Hi Thomas, does this prevent the pipeline from running and invoke an error or does it just generate a poor fit due to low reads?

from swgs-absolutecn.

TBradley27 avatar TBradley27 commented on August 30, 2024

Hi Phil, sorry for the delayed reply - this prevents the pipeline from finishing completely.

The source of the problem is that the NA values causes the R to treat some of the columns as logical vectors rather than numeric which causes an error when R tries to combine the RDS files

from swgs-absolutecn.

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.