Skip to content

3.Error while appending new comparisons to existing comparison table using classic method #11

@arya-arga9502

Description

@arya-arga9502

The comparison table produced by the following command

zipstrain utilities chunk-genome-compare
-p probiotic_output.parquet
-o comparison_table.parquet

removes the ".parquet" in the sample_1 and sample_2 columns. Since this name is used to track which profiles have already been compared and only perform comparisons on the remaining profiles using the code below, one would have to manually remove the .parquet from the profile_name in profiles.csv for the program to realize that comparisons for said profiles have already been done. Otherwise, it sees these profiles as different and re-runs the comparisons on all profiles.

zipstrain utilities build-profile-db
--profile-db-csv profiles.csv
--output-file profile_db.parquet

zipstrain utilities build-genome-comparison-config
--profile-db profile_db.parquet
--gene-db-id ref_genes_v1
--reference-genome-id ref_genomes_v1
--scope all
--min-cov 5
--current-comp-table existing_comparison.parquet
--min-gene-compare-len 200
--stb-file-loc reference_genomes.stb
--output-file genome_compare_config.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions