Skip to content
Merged
Show file tree
Hide file tree
Changes from 13 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
31a0c31
init As1 class file hooray
tristanpwdennis Mar 31, 2026
d7fa6df
add docs
tristanpwdennis Mar 31, 2026
76c5d89
Update base class, init, start adding test coverage
tristanpwdennis Apr 1, 2026
e529a78
Merge branch 'malariagen:master' into add-As1
tristanpwdennis Apr 1, 2026
b57322f
merge
tristanpwdennis Apr 1, 2026
569105e
test genome features
tristanpwdennis Apr 1, 2026
7851553
accidentally mangled conftest, thanks claude code, working now
tristanpwdennis Apr 5, 2026
38fe863
Merge branch 'master' into add-As1
tristanpwdennis Apr 5, 2026
ceaf546
fix phasing analysis misspec
tristanpwdennis Apr 6, 2026
774e93f
x
tristanpwdennis Apr 6, 2026
d761029
add index entry and grid image
tristanpwdennis Apr 6, 2026
c9e8202
ci: trigger test run
tristanpwdennis Apr 7, 2026
a5ffbdf
Merge branch 'master' into add-As1
tristanpwdennis Apr 7, 2026
9d1cba2
add tests for as1. add cnv flag to skip tests for classes without cn…
tristanpwdennis Apr 7, 2026
46ecca7
Merge branch 'add-As1' of https://github.com/tristanpwdennis/malariag…
tristanpwdennis Apr 7, 2026
fed7e9f
tidy metadata in fixture
tristanpwdennis Apr 7, 2026
156b5fe
remove ghostly surv flags from abdi
tristanpwdennis Apr 7, 2026
e4d94c9
oops readding curation now
tristanpwdennis Apr 7, 2026
e3cd4dd
re-add dummy qc cols to test data
tristanpwdennis Apr 7, 2026
7535986
fix readme
tristanpwdennis Apr 10, 2026
97017b4
fix more typosd
tristanpwdennis Apr 10, 2026
a09b28d
Merge branch 'master' into add-As1
jonbrenas Apr 13, 2026
a146798
Merge branch 'master' into add-As1
ahernank Apr 15, 2026
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/As1.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
As1
=====

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

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

import malariagen_data
as1 = malariagen_data.As1()

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

df_samples = as1.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.as1.As1

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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,17 @@ API documentation
:align: center
:width: 100%

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

*Anopheles stephensi*.

.. image:: ./_static/images/anopheles_stephensi.jpg
:alt: Anopheles stephensi mosquito mosquito
:align: center
:width: 100%

.. grid-item-card:: ``Amin1``
:link: Amin1
:link-type: doc
Expand Down
1 change: 1 addition & 0 deletions malariagen_data/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from .af1 import Af1
from .ag3 import Ag3
from .amin1 import Amin1
from .as1 import As1
from .anopheles import AnophelesDataResource, Region
from .pf7 import Pf7
from .pf8 import Pf8
Expand Down
Loading
Loading