Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
PyFastANI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Larralde
PyFastANI
Commits
fab635f2
Commit
fab635f2
authored
2 years ago
by
Martin Larralde
Browse files
Options
Downloads
Patches
Plain Diff
Add links and documentation to install the package with `conda`
parent
c3ec0bef
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.md
+11
-1
11 additions, 1 deletion
README.md
docs/install.rst
+11
-11
11 additions, 11 deletions
docs/install.rst
pyfastani/__init__.py
+13
-0
13 additions, 0 deletions
pyfastani/__init__.py
with
35 additions
and
12 deletions
README.md
+
11
−
1
View file @
fab635f2
...
...
@@ -6,11 +6,15 @@
[

](https://codecov.io/gh/althonos/pyfastani/)
[

](https://choosealicense.com/licenses/mit/)
[

](https://pypi.org/project/pyfastani)
[

](https://anaconda.org/bioconda/pyfastani)
[

](https://aur.archlinux.org/packages/python-pyfastani)
[

](https://pypi.org/project/pyfastani/#files)
[

](https://pypi.org/project/pyfastani/#files)
[

](https://pypi.org/project/pyfastani/#files)
[

](https://github.com/althonos/pyfastani/)
[

](https://github.com/althonos/pyfastani/issues)
[

](https://git.embl.de/larralde/pyfastani/)
[

](https://github.com/althonos/pyfastani/issues)
[

](https://pyfastani.readthedocs.io)
[

](https://github.com/althonos/pyfastani/blob/master/CHANGELOG.md)
[

](https://pepy.tech/project/pyfastani)
[

](https://doi.org/10.5281/zenodo.4940237)
...
...
@@ -58,6 +62,12 @@ In the event you have to compile the package from source, all the required
libraries are vendored in the source distribution, so you'll only need a
C/C++ compiler.
Otherwise, PyFastANI is also available as a
[
Bioconda
](
https://pyfastani.github.io/
)
package:
```
console
$
conda
install
-c
bioconda pyfastani
```
## 💡 Example
The following snippets show how to compute the ANI between two genomes,
...
...
This diff is collapsed.
Click to expand it.
docs/install.rst
+
11
−
11
View file @
fab635f2
...
...
@@ -22,17 +22,17 @@ one is available, or from source after compiling the Cython code :
$ pip install --user pyfastani
..
Conda
..
^^^^^
..
..
`pyfastani` is also available as a `recipe <https://anaconda.org/bioconda/pyfastani>`_
..
in the `bioconda <https://bioconda.github.io/>`_ channel. To install, simply
..
use the ``conda`` installer:
..
..
.. code:: console
..
..
$ conda install -c bioconda pyfastani
..
Conda
^^^^^
`pyfastani` is also available as a `recipe <https://anaconda.org/bioconda/pyfastani>`_
in the `bioconda <https://bioconda.github.io/>`_ channel. To install, simply
use the ``conda`` installer:
.. code:: console
$ conda install -c bioconda pyfastani
Arch User Repository
^^^^^^^^^^^^^^^^^^^^
...
...
This diff is collapsed.
Click to expand it.
pyfastani/__init__.py
+
13
−
0
View file @
fab635f2
...
...
@@ -25,3 +25,16 @@ __all__ = [
"
Position
"
,
"
MAX_KMER_SIZE
"
]
# Small addition to the docstring: we want to show a link redirecting to the
# rendered version of the documentation, but this can only work when Python
# is running with docstrings enabled
if
__doc__
is
not
None
:
__doc__
+=
"""
See Also:
An online rendered version of the documentation for this version
of the library on
`Read The Docs <https://pytrimal.readthedocs.io/en/v{}/>`_.
"""
.
format
(
__version__
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment