Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
150 changes: 150 additions & 0 deletions docs/source/Afar1.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
Afar1
=====

This page provides a curated list of functions and properties available in the ``malariagen_data`` API
for data on mosquitoes from *Anopheles farauti*.

To set up the API, use the following code::

import malariagen_data
afar1 = malariagen_data.Afar1()

All the functions below can then be accessed as methods on the ``afar1`` object. E.g., to call the
``sample_metadata()`` function, do::

df_samples = afar1.sample_metadata()

For more information about the data and terms of use, please see the
`MalariaGEN website <https://www.malariagen.net/data>`_ or contact support@malariagen.net.

.. currentmodule:: malariagen_data.afar1.Afar1

Basic data access
-----------------
.. autosummary::
:toctree: generated/

releases
sample_sets
lookup_release
lookup_study

Reference genome data access
----------------------------
.. autosummary::
:toctree: generated/

contigs
genome_sequence
genome_features
plot_transcript
plot_genes

Sample metadata access
----------------------
.. autosummary::
:toctree: generated/

sample_metadata
add_extra_metadata
clear_extra_metadata
lookup_sample
count_samples
plot_samples_bar
plot_samples_interactive_map
plot_sample_location_mapbox
plot_sample_location_geo
wgs_data_catalog
cohorts

SNP data access
---------------
.. autosummary::
:toctree: generated/

site_mask_ids
snp_calls
snp_allele_counts
plot_snps
site_annotations
is_accessible
biallelic_snp_calls
biallelic_diplotypes
biallelic_snps_to_plink

Integrative genomics viewer (IGV)
---------------------------------
.. autosummary::
:toctree: generated/

igv
view_alignments

SNP frequency analysis
----------------------
.. autosummary::
:toctree: generated/

snp_allele_frequencies
snp_allele_frequencies_advanced
aa_allele_frequencies
aa_allele_frequencies_advanced
plot_frequencies_heatmap
plot_frequencies_time_series
plot_frequencies_interactive_map

Principal components analysis (PCA)
-----------------------------------
.. autosummary::
:toctree: generated/

pca
plot_pca_variance
plot_pca_coords
plot_pca_coords_3d

Genetic distance and neighbour-joining trees (NJT)
--------------------------------------------------
.. autosummary::
:toctree: generated/

plot_njt
njt
biallelic_diplotype_pairwise_distances

Heterozygosity analysis
-----------------------
.. autosummary::
:toctree: generated/

plot_heterozygosity
roh_hmm
plot_roh

Diversity analysis
------------------
.. autosummary::
:toctree: generated/

cohort_diversity_stats
diversity_stats
plot_diversity_stats

Diplotype clustering
--------------------
.. autosummary::
:toctree: generated/

plot_diplotype_clustering
plot_diplotype_clustering_advanced

Fst analysis
------------
.. autosummary::
:toctree: generated/

average_fst
pairwise_average_fst
plot_pairwise_average_fst
fst_gwss
plot_fst_gwss
8 changes: 8 additions & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,14 @@ API documentation

.. image:: https://phil.cdc.gov//PHIL_Images/8777/8777_lores.jpg

.. grid-item-card:: ``Afar1``
:link: Afar1
:link-type: doc

*Anopheles farauti*.

.. image:: https://upload.wikimedia.org/wikipedia/commons/thumb/a/a1/Anopheles_farauti.jpg/640px-Anopheles_farauti.jpg

Documentation for the `Pf7 <https://malariagen.github.io/parasite-data/pf7/api.html>`_ (*Plasmodium falciparum*)
and `Pv4 <https://malariagen.github.io/parasite-data/pv4/api.html>`_ (*Plasmodium vivax*) APIs is also available,
currently hosted on a separate site.
Expand Down
1 change: 1 addition & 0 deletions malariagen_data/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from .adar1 import Adar1
from .adir1 import Adir1
from .af1 import Af1
from .afar1 import Afar1
from .ag3 import Ag3
from .amin1 import Amin1
from .anopheles import AnophelesDataResource, Region
Expand Down
4 changes: 2 additions & 2 deletions malariagen_data/adar1.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def __repr__(self):
f"Please note that data are subject to terms of use,\n"
f"for more information see https://www.malariagen.net/data\n"
f"or contact support@malariagen.net. For API documentation see \n"
f"https://malariagen.github.io/malariagen-data-python/v{malariagen_data.__version__}/Adir1.html"
f"https://malariagen.github.io/malariagen-data-python/v{malariagen_data.__version__}/Adar1.html"
)
return text

Expand All @@ -167,7 +167,7 @@ def _repr_html_(self):
Please note that data are subject to terms of use,
for more information see <a href="https://www.malariagen.net/data">
the MalariaGEN website</a> or contact support@malariagen.net.
See also the <a href="https://malariagen.github.io/malariagen-data-python/v{malariagen_data.__version__}/Adir1.html">Adir1 API docs</a>.
See also the <a href="https://malariagen.github.io/malariagen-data-python/v{malariagen_data.__version__}/Adar1.html">Adar1 API docs</a>.
</td></tr>
</thead>
<tbody>
Expand Down
Loading