Skip to content

Commit

Permalink
Merge branch 'dev' into mkdocs-material
Browse files Browse the repository at this point in the history
  • Loading branch information
nsheff committed Mar 5, 2024
2 parents b6f5242 + 4174fd1 commit 9c1c8f4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/digest_from_collection.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@ One of the most common uses of the seqcol specification is to compute a standard

If working from within Python, you can use the reference implementation like this:

1. Install the seqcol package with some variant of `pip install seqcol`.
1. Install the seqcol package with some variant of `pip install refget`.
2. Build up your canonical seqcol object
3. Compute its digest:

```
import seqcol
seqcol.digest(seqcol_obj)
import refget
refget.seqcol_digest(seqcol_obj)
```

If you have a FASTA file, you could get a canonical seqcol object like this:

```
seqcol_obj = seqcol.csc_from_fasta(fa_file)
seqcol_obj = refget.fasta_file_to_seqcol(fa_file)
```

## 2. Implement the seqcol digest algorithm yourself
Expand Down

0 comments on commit 9c1c8f4

Please sign in to comment.