Giter Site home page Giter Site logo

cramino's People

Contributors

asleonard avatar wdecoster 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  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cramino's Issues

Mean identity calculated as more than 100%

I'm seeing several cases where mean identity is calculated as over 100%. For example:

Yield [Gb]	39.86
Mean coverage	12.86
N50	21602
Median length	1600.00
Mean length	5308
Median identity	97.98
Mean identity	103.01

I wouldn't expect this to be possible, correct?

thread 'main' panicked at 'Unexpected type of Aux I32(8) error

Hi,

I just wanted to try out Cramino and I installed it using conda. However, on testing it on one of the bam files produced using pbmm2, I am getting this error-

thread 'main' panicked at 'Unexpected type of Aux I32(8)', src/extract_from_bam.rs:164:18 note: run with 'RUST_BACKTRACE=1' environment variable to display a backtrace

This is the cramino command I am using-

time cramino -t 8 --hist --karyotype second_hg38.movie.bam

Any workaround? Is it a bug in the code by any chance? I haven't installed Rust yet, but I guess that it should be installed separately?

Regards,
Prasun

PS-Just to add, I installed Rust (v1.70.0), but the error still persists. I am using cramino v0.9.7 which I installed using conda

--spliced not supported? (Question)

Is the --spliced supported?, I tried to use but I keep getting this error

error: Found argument '--spliced' which wasn't expected, or isn't valid in this context
If you tried to supply --spliced as a value rather than a flag, use -- --spliced

Plus, it no longer shows in the command line help (-h) message.

Does cramino support unmapped bam?

It works with the cram file I have but crashes when I give it an unmapped bam:

~/utils/cramino -t 4 ABC.ubam --arrow ABC.unmapped.feather
File name ABC.ubam
[2023-07-21T04:19:31Z ERROR cramino] Not enough reads to calculate metrics!
thread 'main' panicked at 'explicit panic', src/main.rs:155:9
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

By the way, is it possible to also output number of mapped bases and unmapped bases for aligned cram/bam?

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.