Skip to content

Inquiry about rownames in bam generated abundance.npz #448

@Zjx01

Description

@Zjx01

Hi, I have used vamb 5.0.4 to generate the binning result and trying to abundance estimation using the abundance.npz. If I read in the abundance matrix, I do not really know what are the rownames. And the abundance matrix has the shape of (contig_number,sample_number), Should I use composition.metadata.identifiers, the vae_cluster_unsplit.tsv, or vae_cluster_split.tsv to assign them with the rownames, as they have same length? but which one to use?

import vamb composition = vamb.parsecontigs.Composition.load("composition.npz") abundance = vamb.parsebam.Abundance.load("abundance.npz", composition.metadata.refhash)
Thanks,
Jingxian

Metadata

Metadata

Assignees

No one assigned

    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