Coder Social home page Coder Social logo

ncbi / bamscale Goto Github PK

View Code? Open in Web Editor NEW
66.0 66.0 17.0 8.89 MB

BAMscale is a one-step tool for either 1) quantifying and normalizing the coverage of peaks or 2) generated scaled BigWig files for easy visualization of commonly used DNA-seq capture based methods.

License: Other

Dockerfile 0.55% Makefile 4.26% C 62.91% Shell 0.55% C++ 3.26% Common Workflow Language 3.21% R 25.26%

bamscale's People

Contributors

pongorlorinc avatar r78v10a07 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bamscale's Issues

ERROR: BAM file index (.bai) does not exist

Hi there

I'm using BAMscale Version: v0.0.5 .
The "scale" utility is reporting "ERROR: BAM file index (.bai) does not exist". The manual check for index (.bai) however shows it does exist. I'm happy to share the BAM file and it's index (.bai) but I'm not sure what is the best way to do it here.

strand-specific definition

Hi,

is endseq: strand-specific coverages in this context referring to the strand specificity based on the underlying DNA reference or based on sense/antisense RNA transcription for strand-specific RNA libraries?

Thanks!

Unexpected Bigwig Output

Hi there,
I tried running BAMscale scale --operation subtract on two ChIPseq files, it processed them swiftly however the resulting bigwig files are causing trouble with downstream tools such as deeptools' plotProfile.
It also appears as bars in the IGV browser rather than the usual signal track as shown:
Screenshot 2021-02-17 at 15 58 17

Converting to wig format using bigWigToWig seems to indicate the bigwigs are fixedStep, could this be the problem?
Any option to output to variableStep bigwig?

k-means error

Hello,

When I try to do k-means clustering, I receive an error below. As I searched, this is because of NAs present in the data frame. I m not sure how to omit NAs from peakds data. Thanks in advance for your help.

peakds = PrepareDataForPlotting(peakds)
Error in do_one(nmeth) : NA/NaN/Inf in foreign function call (arg 1)
Called from: do_one(nmeth)

statistic from tpm normalized peaks

--Hi,

i want to emphasize the best peaks and i think to do that i need to compute some statistics using the tpm output.
But i'm not very familiar with stats and i don't known how to do. Do you have some clues or tuto ? Thank you .

best,
L.

Rounding to more than two decimal places

Let's say you want to use BAMscale to calculate a library size scaling factor using a command such as the following (example command, not real data)

$ BAMscale scale --operation rna --threads 20 \
--bam 162260/162260.bam \
--bam 162261/162261.bam > BAMscale.log 2>&1

$ grep -P -A 2 "Sample: \d+.bam" BAMscale.log|paste - - - -

Sample: 162260.bam	Total no. of reads: 537060		Library size scale: 0.00	--
Sample: 162261.bam	Total no. of reads: 1883		Library size scale: 1.00	--

If there is huge difference in the number of reads between the largest and smallest library, the estimated Library size scale will be 0.00 due to rounding to only 2 decimal places. Is there some way to either expose an option to make this value user adjustable or just simply set it to maybe 8 decimal places?

executable for MAC

Is there a static executable available for MAC OS? It would be a great help.

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.