Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
3fe3752
add adir1 class for anopheles dirus data release
tristanpwdennis Jun 9, 2025
921b9c4
add notebook exploring / troubleshooting adir1
tristanpwdennis Jun 10, 2025
e3e45fe
comment out TOU lookups for metadata
tristanpwdennis Jun 10, 2025
b8ed3cb
add annotation to commented out bit of metadata
tristanpwdennis Jun 11, 2025
57a9b42
forgot how the alphabet works d'oh
tristanpwdennis Jun 16, 2025
ced9224
add hashing to roh function
tristanpwdennis Jun 17, 2025
15c9b28
add adir1 class for anopheles dirus data release
tristanpwdennis Jun 9, 2025
624a21f
add notebook exploring / troubleshooting adir1
tristanpwdennis Jun 10, 2025
6cbce3a
comment out TOU lookups for metadata
tristanpwdennis Jun 10, 2025
fcbb281
add annotation to commented out bit of metadata
tristanpwdennis Jun 11, 2025
ce7b80a
forgot how the alphabet works d'oh
tristanpwdennis Jun 16, 2025
1b19634
add hashing to roh function
tristanpwdennis Jun 17, 2025
d1bad60
Merge branch 'adir1.x' of https://github.com/tristanpwdennis/malariag…
tristanpwdennis Jun 17, 2025
6320047
reintroduce cohorts, aims, qc to metadata
tristanpwdennis Jun 18, 2025
5cd669f
add cohorts analysis
tristanpwdennis Jul 10, 2025
0a9c07c
QC data now being built with metadata
tristanpwdennis Sep 28, 2025
9a3ec96
QC metadata back in now
tristanpwdennis Sep 28, 2025
fb8a42e
Update adir1.py
tristanpwdennis Oct 8, 2025
996f545
Resolve poetry.lock conflict
tristanpwdennis Oct 8, 2025
6fa3c63
Add Adir1 docs page, add index entry (docs contain all functions minu…
tristanpwdennis Oct 10, 2025
53a85e4
add updated release path, change from 1.x to 1.0
tristanpwdennis Oct 13, 2025
0f58591
update paths to release directory
tristanpwdennis Oct 14, 2025
edee495
tou added back into sample_metadata
tristanpwdennis Oct 14, 2025
bf5c188
corrected path to qc data from sample_metadatax
tristanpwdennis Oct 14, 2025
10e0548
remove pinned ipykernel
tristanpwdennis Oct 14, 2025
ad4f661
add initial tests for adir1
tristanpwdennis Oct 14, 2025
6f8376c
add initial tests for adir1
tristanpwdennis Oct 14, 2025
4c434ae
fix broken asset at ref sequence comparison in integration tests
tristanpwdennis Oct 14, 2025
0f7aa4d
tidy
tristanpwdennis Oct 14, 2025
844eebe
Change location to release bucket
tristanpwdennis Oct 15, 2025
27560f4
update bucket path in class file
tristanpwdennis Oct 19, 2025
108ce55
add new bucket path
tristanpwdennis Oct 21, 2025
ccba402
ud bucket location in adir1 integration test
tristanpwdennis Oct 21, 2025
ef78031
force sync adir1.x with local
tristanpwdennis Oct 29, 2025
686a556
add conf tests for dirus, simulated data, fixture, etc
tristanpwdennis Oct 30, 2025
1087431
add coverage tests for adir1
tristanpwdennis Nov 4, 2025
7303340
fix cohort validation in adir1 conftest & add dummy contam data
tristanpwdennis Nov 25, 2025
4989f74
remove tests for g123 and dipclust
tristanpwdennis Nov 25, 2025
ac9677e
more test fixes
tristanpwdennis Nov 25, 2025
b76f818
Merge branch 'master' into adir1.x
tristanpwdennis Nov 25, 2025
5956494
add surveillance/restricted use flags
tristanpwdennis Nov 25, 2025
826a920
add surveillance/restricted use flags again
tristanpwdennis Nov 25, 2025
bebd524
Apply pre-commit formatting fixes
tristanpwdennis Nov 25, 2025
5e358c2
skip tests for adir1 that have sex call query
tristanpwdennis Nov 26, 2025
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/Adir1.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
Adir1
=====

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

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

import malariagen_data
adir1 = malariagen_data.Adir1()

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

df_samples = adir1.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.adir1.Adir1

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 @@ -35,6 +35,14 @@ API documentation

.. image:: https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Anopheles_minimus_1.jpg/640px-Anopheles_minimus_1.jpg

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

*Anopheles dirus* complex.

.. image:: https://phil.cdc.gov//PHIL_Images/8777/8777_lores.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
@@ -1,4 +1,5 @@
# flake8: noqa
from .adir1 import Adir1
from .af1 import Af1
from .ag3 import Ag3
from .amin1 import Amin1
Expand Down
Loading
Loading