Skip to content

Test if skip_ref_seq option works properly #66

@gregorgorjanc

Description

@gregorgorjanc

Will need a tree sequence with a ref sequence first! How do we get one?

@LynxJinyangii could you help me out here?

See the examples I have created at https://github.com/HighlanderLab/RcppTskit/tree/main/RcppTskit/inst/examples.

Perhaps best if we take the example.trees and simplify it down to something even smaller (take the exmaples code from

#' tmp <- tc_py$simplify(samples = c(0L, 1L, 2L, 3L))
) and we add ref seq to it. I am not clear how this is done! See https://tskit.dev/tskit/docs/stable/data-model.html#reference-sequence, https://tskit.dev/tskit/docs/stable/python-api.html#tskit.TreeSequence.alignments - this one has this code to get random sequence reference_sequence=tskit.random_nucleotides(ts.sequence_length), but we need to store it into ts or tc object - how do we do this?)

  • Add ref seq into ts and create example_with_ref_seq.trees
  • Develop tests

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions