GithubHelp home page GithubHelp logo

Comments (6)

brentp avatar brentp commented on May 27, 2024

ok. what is needed for hg38/hg38 Un and random? I could make it default to removing those.

Or I can add --exclude that takes a list of chromosomes.

You're thinking just to remove this from the visual output? Or from the .bed.gz as well?

from goleft.

chapmanb avatar chapmanb commented on May 27, 2024

Brent;
Here's the gist of the ones from hg38 and hg19 that would be good to drop:

https://gist.github.com/chapmanb/e8b91a7f4426bdfcc0f8a15b7539a7b0

So chrUn, random, hap, alts and HLAs. Removing from everything works great, I don't think we'll be assessing coverage much on these and just creates a bunch of extra.

Alternatively, having a flag for what to include/exclude would be great and I can do myself. --include would be easier than --exclude to avoid huge command lines on hg38 (or a file of exclude inputs).

Thanks much for considering this.

from goleft.

brentp avatar brentp commented on May 27, 2024

Thanks Brad. I'll make it an exclude pattern with this default:

^chrEBV$|^NC|_random$|Un_|^HLA\-|_alt$|hap\d$

that removes all of the chromosomes you sent except chrM. You will be able to set from the command-line if needed, but I think those are sensible defaults. Does that seem reasonable to you?

from goleft.

chapmanb avatar chapmanb commented on May 27, 2024

That would be perfect -- thanks so much.

from goleft.

brentp avatar brentp commented on May 27, 2024

Hi Brad, I implemented this and pushed a new release. Thanks for the feedback.

from goleft.

chapmanb avatar chapmanb commented on May 27, 2024

Perfect, thanks so much Brent. I updated the bioconda package for this so it's all rolled out. Much appreciated.

from goleft.

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.