Skip to content

query output file query_name is incorrect #84

@bredeson

Description

@bredeson

Hi @pmelsted,
Thank you for this cool tool!

I was experimenting with the Bifrost query command line tool and noticed that if I specify a single sequence in the input query FASTA file to search a graph with two colors, the output file returns one query line with an empty query_name column; but if I input two query sequences in the query FASTA file, it outputs two query lines but with the second sequence name in place of the first query and the second query_name is empty. I think this must be a bug (the presence/absence counts are otherwise correct):

$ Bifrost build -k 31 -r ./genome.list --colors -o test
$ Bifrost query -q qry.fa -o qry-test -g test.gfa.gz -C test.color.bfg
$ cat query-test.tsv
query_name	genome1.fasta	genome2.fasta
qry2	1	1
	1	0

I'm using Bifrost v1.3.5 compiled on Linux. I've uploaded the test files to dataset2.tar.gz

Best,
Jessen

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