Code Monkey home page Code Monkey logo

Comments (5)

petrelharp avatar petrelharp commented on September 16, 2024

I'm good with this, although it does seem like if someone tries to simplify to a non-sample, it's most likely an error. Related: previously, we have said that a "sample" must be a node for which we have parents for across the entire genome. Should we no longer say this, and only say that is a focal node in analyses?

from tskit.

jeromekelleher avatar jeromekelleher commented on September 16, 2024

I'm good with this, although it does seem like if someone tries to simplify to a non-sample, it's most likely an error.

I think we should mark it as a sample in the output though, regardless of its sample status in the input. Right now, I'm layering up a tree sequence by sequentially adding new stuff. Things that were samples before are not now, and things that weren't samples become samples; I want to simplify WRT to the current samples, and also WRT to everything that is not the current samples. It's a powerful operation, there's a million different things you might want to do with it, and having to edit the tree sequence first just to set the sample flag on the node you're interested in is really annoying.

Anyway, this is a long-winded way of saying, "I don't think it's most likely an error"!

Related: previously, we have said that a "sample" must be a node for which we have parents for across the entire genome. Should we no longer say this, and only say that is a focal node in analyses?

Yes, you're right. I think we should drop this clause --- it's unnecessary and doesn't add anything.

from tskit.

petrelharp avatar petrelharp commented on September 16, 2024

I think we should mark it as a sample in the output though, regardless of its sample status in the input.

Yes.

Anyway, this is a long-winded way of saying, "I don't think it's most likely an error"!

Sounds good. I meant "for everyone else but you, currently, it is most likely an error." =)

from tskit.

jeromekelleher avatar jeromekelleher commented on September 16, 2024

Sounds good. I meant "for everyone else but you, currently, it is most likely an error." =)

Haha, true enough. Hopefully more people than me will be doing these sort of tree sequence manipulation soon...

from tskit.

petrelharp avatar petrelharp commented on September 16, 2024

@gtsambos has run into this annoyance, here

from tskit.

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.