andersen-lab / Freyja

Depth-weighted De-Mixing
BSD 2-Clause "Simplified" License
100 stars 29 forks source link

Freyja plot error #147

Closed adelizamae closed 1 year ago

adelizamae commented 1 year ago

Hi! I'm trying to plot the Variant Prevalence using the the freyja plot command. However, I'm having this error and I don't know what I'm doing wrong.

Here's the command I typed: freyja plot lineages-aggregate.tsv --output lineages.pdf

Here's the error message: freyja-plot-error

This is what the lineages-aggregate.tsv looks like freyja-lineages-aggregate-tsv

I got the lineages-aggregate.tsv from the command freyja aggregate

The files I aggregated are the csv file output from freyja boot

Please tell me what I did incorrectly. Thank you so much for your help!

joshuailevy commented 1 year ago

Hi @lanadelrea!

Thanks for bringing this up. The aggregation step is supposed to be performed on outputs from freyja demix actually, which would explain the strange formatting of your aggregate file. Hopefully that should fix your issue!

Josh