Skip to content

"Anchors File Generated in Ortholog Mode Only Contains Three Columns, Preventing Downstream Visualization" #768

@SoledadPianist

Description

@SoledadPianist

I'm encountering a problem when running the ortholog analysis with JCVI. I executed the following command:
python -m jcvi.compara.catalog ortholog Np-x sb --no_strip_names
However, the resulting anchors file only contains three columns (SpeciesA_gene, SpeciesB_gene, and score). Since the JCVI karyotype visualization module expects an anchors file with six columns (e.g., including start/end positions and orientation for each syntenic block),
the visualization step fails with an error like:
ValueError: not enough values to unpack (expected 6, got 3)

It seems that the ortholog command is outputting a simplified format by default, which does not include the full coordinate and orientation details required for downstream visualization. I have tried looking for options (like --simple=False) but haven't found a way to force a full-format (6-column) anchors file output from the catalog module.
Questions:

  • Is there an available command-line parameter or workflow within JCVI that forces the generation of a full-format (6-column) anchors file when running the ortholog analysis?
  • If not, what is the recommended procedure to obtain a compatible anchors file (with complete synteny block information) for use with JCVI karyotype?

Any help or guidance on resolving this issue for downstream visualization would be greatly appreciated.

Image

Image

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