Git Product home page Git Product logo

Comments (8)

bensprung avatar bensprung commented on July 30, 2024 1

Aha, thanks. Trying now, will report back. BTW, I think you have the links for HaplotypeCaller and BaseRecalibrator swapped in the comments
image

from grenepipe.

lczech avatar lczech commented on July 30, 2024

Hi @bensprung,

the extra params for each tool in the config file are meant for this purpose. That being said, I have not tested the pipeline with any non-diploid species, so I'd be curious to hear your feedback! I think it should work, as long as you specify ploidy for all tools that require it to be set.

Let me know if this works for you ;-)
Lucas

from grenepipe.

bensprung avatar bensprung commented on July 30, 2024

Hi Lucas I knew I was missing something simple, thanks.

I'm a little confused about one thing, would I make a new line that is

HaplotypeCaller-ploidy: 1

or

ploidy: 1

from grenepipe.

lczech avatar lczech commented on July 30, 2024

Hi @bensprung,

the types of entries/lines in the config file are pre-defined by the pipeline, and it is looking for specific keys. So, adding a new key that is not used by grenepipe would not have any effect at all.

What you want to do instead is fill in the values as needed. In your case, you want to change the line

HaplotypeCaller: ""

to

HaplotypeCaller: "-ploidy 1"

That is, within the quotation marks, you give the exact arguments that you want, as if you were calling GATK HaplotypeCaller yourself from the command line.

Let me know if this works ;-)

from grenepipe.

bensprung avatar bensprung commented on July 30, 2024

So it seems to work find with "-ploidy 1" passed along. No more pesky 0|1's!

from grenepipe.

lczech avatar lczech commented on July 30, 2024

Awesome! And none of the downstream tools complained about this? I'm closing this issue then - but feel free to re-open if needed :-)

Also, thanks for hint about swapped links!

from grenepipe.

bensprung avatar bensprung commented on July 30, 2024

Apparently not, at least the snpeff output looks like it makes sense so far.

from grenepipe.

lczech avatar lczech commented on July 30, 2024

Perfect, glad to hear :-)

from grenepipe.

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.