Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

sourmash-bio/sourmash_plugin_venn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sourmash_plugin_venn: generate a simple Venn diagram for two sourmash sketches

This plugin is deprecated.

Please use the venn command in the betterplot plugin instead, as that plugin is maintained and supported as of August 2024.

Legacy documentation

Generate Venn diagrams showing overlaps between two sourmash sketches of DNA or protein sequences:

simple Venn diagram

Examples

sourmash scripts venn examples/a.sig.gz examples/b.sig.gz -o a-b.png

sourmash scripts venn examples/a.sig.gz examples/b.sig.gz -o a-b.png --name1 A --name2 B

sourmash scripts venn examples/a.sig.gz examples/b.sig.gz examples/c.sig.gz -o a-b-c.png 

sourmash scripts venn examples/a.sig.gz examples/b.sig.gz examples/c.sig.gz -o a-b-c.png --name1 A --name2 B --name3 C

Installation

pip install sourmash_plugin_venn

Dev docs

venn is developed at https://github.com/sourmash-bio/sourmash_plugin_venn.

Testing

Run:

pytest tests

Generating a release

Bump version number in pyproject.toml and push.

Make a new release on github.

Then pull, and:

python -m build

followed by twine upload dist/....