Skip to content

Commit

Permalink
add example
Browse files Browse the repository at this point in the history
  • Loading branch information
rpetit3 committed Aug 8, 2024
1 parent b8fa99e commit c0aae41
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions camlhmp/engines/blast.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ def run_blast(engine: str, subject: str, query: str, min_pident: float, min_cove
Returns:
list: The parsed BLAST results, raw blast results, and stderr
Examples:
>>> from camlhmp.engines.blast import run_blast
>>> run_blast("blastn", "subject.fasta", "query.fasta", 95, 95)
"""
outfmt = " ".join(BLASTN_COLS)
cat_type = "zcat" if str(subject).endswith(".gz") else "cat"
Expand Down
4 changes: 2 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ plugins:
python:
paths: [camlhmp]
options:
show_source: true
show_symbol_type_heading: false
show_root_heading: true
show_root_toc_entry: false
show_source: true
show_symbol_type_heading: false

extra:
analytics:
Expand Down

0 comments on commit c0aae41

Please sign in to comment.