Skip to content

Cannot plot blast hits and custom labels at the same time #282

Description

@NiallG1

Hello,

I have a genome for which I have some contigs that have blast hits and some contigs I want to assign text labels. I cannot get blobtools to
accept this mix of input type for a single genome. I also cannot get blobtools to accept these as 2 different datasets and flick between them.

blobtools create \
    --fasta "$SAMPLE" \
    --meta "$YAML" \
    ./sample1_blobdir

blobtools add \
    --busco "$BUSCO" \
    ./sample1_blobdir

blobtools add \
    --text "$TAXONOMY" \
    --text-delimiter "\t" \
    --text-cols "seq_id=identifiers,taxonomy=taxonomy" \
    --text-header \
    --key plot.cat=taxonomy \
    ./sample1_blobdir

blobtools add \
    --cov "$BAM" \
    --threads 24 \
    ./sample1_blobdir

blobtools add \
    --hits "$BLOBHITS" \
    --taxrule bestsum \
    --taxdump "$TAXDUMP" \
    --threads 24 \
    ./sample1_blobdir

The blobdir was viewed with

BTK_API_PORT=8880 BTK_PORT=8881 BTK_FILE_PATH=/path/to/sample/blobtoolkit ./blobtoolkit-api
BTK_API_PORT=8880 BTK_PORT=8881 ./blobtoolkit-viewer

I have attached example files for both the blast hits and the custom text labels.

sample1_blobtools_blasthits.tsv
sample1_blobtools_textlabels.tsv

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