Skip to content

Unable to apply custom grouping in histgrowth #106

Description

@KopalliV

Hi,

I am running Panacus on a merged chromosome-wise pangenome graph. The graph has 220 paths: 22 genomes × 10 chromosomes. I want to group chromosome paths by genome, so growth/core analysis should use 22 groups, not 220 paths.

My custom grouping file looks like this:

Chr01_Sb_HMW_1#0#Chr01_Sb_HMW_1#0 Sb_HMW_1
Chr02_Sb_HMW_1#0#Chr02_Sb_HMW_1#0 Sb_HMW_1
Chr03_Sb_HMW_1#0#Chr03_Sb_HMW_1#0 Sb_HMW_1
...
Chr01_Sbi_v5_ref#0#Chr01_Sbi_v5_ref Sbi_v5_ref
Chr02_Sbi_v5_ref#0#Chr02_Sbi_v5.0_ref Sbi_v5_ref
...

The file has 220 rows and 22 unique groups.

I tried: panacus histgrowth -t 32 -c bp -l 1,1 -q 0,1 -g panacus_groups.fixed.tsv ../SBi_21_mc.og.gfa > SBi_21_mc.grouped_growth.bp.tsv

Expected: growth curve should go from 0 to 22 after grouping.

Observed: growth curve still goes from 0 to 220, suggesting grouping is not being applied to the growth units.

Could you please clarify whether the custom grouping file format is correct and help me understand?

Panacus version: 0.5.0

Thanks

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