dkoslicki / TAMPA

A collection of tools to visualize CAMI profiling outputs
MIT License
2 stars 1 forks source link

Make it so ground truth profile is optional #2

Closed dkoslicki closed 4 years ago

dkoslicki commented 4 years ago

Currently, you need to provide the ground truth with the -g flag.

python src/profile_to_plot.py -i data/prediction_multi.profile -g data/ground_truth_multi.profile

Since the point is to also have this be a visualization tool for real data (where no ground truth is available), the -g flag should be optional and the ProfilesLayout.py class should be modified to accommodate the absence of ground_truth_file.

Then, ProfilesLayout.make_tax_id_to_percentage() and ProfilesLayout.layout() need add the ability to deal with the absence of a ground_truth_file