Skip to content

--samples option does not work as dropin replacement for --population-file #42

Description

@percyfal

Related to #41; I think this is true for both clam loci and clam stat. The samples option does not seem to take populations into account. Also, when generating a callable.zarr with a sample-to-population file, downstream regrouping of samples via --samples/--population-file may fail since if the population definitions differ from the number of columns in callable.zarr:

The application panicked (crashed).
Message:  ndarray: index out of bounds
Location: /home/peru/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/arraytraits.rs:36

If a callable.zarr already defines populations that are immutable, then it would suffice with a boolean flag to turn on population-specific statistics or not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions