Skip to content

Commit fbbd2d0

Browse files
authored
Merge pull request #795 from malariagen/adir1.x
Adir1.x
2 parents 03a6d5d + 5e358c2 commit fbbd2d0

File tree

116 files changed

+15038
-109
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

116 files changed

+15038
-109
lines changed

docs/source/Adir1.rst

Lines changed: 150 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,150 @@
1+
Adir1
2+
=====
3+
4+
This page provides a curated list of functions and properties available in the ``malariagen_data`` API
5+
for data on mosquitoes from the *Anopheles dirus* complex.
6+
7+
To set up the API, use the following code::
8+
9+
import malariagen_data
10+
adir1 = malariagen_data.Adir1()
11+
12+
All the functions below can then be accessed as methods on the ``adir1`` object. E.g., to call the
13+
``sample_metadata()`` function, do::
14+
15+
df_samples = adir1.sample_metadata()
16+
17+
For more information about the data and terms of use, please see the
18+
`MalariaGEN website <https://www.malariagen.net/data>`_ or contact support@malariagen.net.
19+
20+
.. currentmodule:: malariagen_data.adir1.Adir1
21+
22+
Basic data access
23+
-----------------
24+
.. autosummary::
25+
:toctree: generated/
26+
27+
releases
28+
sample_sets
29+
lookup_release
30+
lookup_study
31+
32+
Reference genome data access
33+
----------------------------
34+
.. autosummary::
35+
:toctree: generated/
36+
37+
contigs
38+
genome_sequence
39+
genome_features
40+
plot_transcript
41+
plot_genes
42+
43+
Sample metadata access
44+
----------------------
45+
.. autosummary::
46+
:toctree: generated/
47+
48+
sample_metadata
49+
add_extra_metadata
50+
clear_extra_metadata
51+
lookup_sample
52+
count_samples
53+
plot_samples_bar
54+
plot_samples_interactive_map
55+
plot_sample_location_mapbox
56+
plot_sample_location_geo
57+
wgs_data_catalog
58+
cohorts
59+
60+
SNP data access
61+
---------------
62+
.. autosummary::
63+
:toctree: generated/
64+
65+
site_mask_ids
66+
snp_calls
67+
snp_allele_counts
68+
plot_snps
69+
site_annotations
70+
is_accessible
71+
biallelic_snp_calls
72+
biallelic_diplotypes
73+
biallelic_snps_to_plink
74+
75+
Integrative genomics viewer (IGV)
76+
---------------------------------
77+
.. autosummary::
78+
:toctree: generated/
79+
80+
igv
81+
view_alignments
82+
83+
SNP frequency analysis
84+
----------------------
85+
.. autosummary::
86+
:toctree: generated/
87+
88+
snp_allele_frequencies
89+
snp_allele_frequencies_advanced
90+
aa_allele_frequencies
91+
aa_allele_frequencies_advanced
92+
plot_frequencies_heatmap
93+
plot_frequencies_time_series
94+
plot_frequencies_interactive_map
95+
96+
Principal components analysis (PCA)
97+
-----------------------------------
98+
.. autosummary::
99+
:toctree: generated/
100+
101+
pca
102+
plot_pca_variance
103+
plot_pca_coords
104+
plot_pca_coords_3d
105+
106+
Genetic distance and neighbour-joining trees (NJT)
107+
--------------------------------------------------
108+
.. autosummary::
109+
:toctree: generated/
110+
111+
plot_njt
112+
njt
113+
biallelic_diplotype_pairwise_distances
114+
115+
Heterozygosity analysis
116+
-----------------------
117+
.. autosummary::
118+
:toctree: generated/
119+
120+
plot_heterozygosity
121+
roh_hmm
122+
plot_roh
123+
124+
Diversity analysis
125+
------------------
126+
.. autosummary::
127+
:toctree: generated/
128+
129+
cohort_diversity_stats
130+
diversity_stats
131+
plot_diversity_stats
132+
133+
Diplotype clustering
134+
--------------------
135+
.. autosummary::
136+
:toctree: generated/
137+
138+
plot_diplotype_clustering
139+
plot_diplotype_clustering_advanced
140+
141+
Fst analysis
142+
------------
143+
.. autosummary::
144+
:toctree: generated/
145+
146+
average_fst
147+
pairwise_average_fst
148+
plot_pairwise_average_fst
149+
fst_gwss
150+
plot_fst_gwss

docs/source/index.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,14 @@ API documentation
3535

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

38+
.. grid-item-card:: ``Adir1``
39+
:link: Adir1
40+
:link-type: doc
41+
42+
*Anopheles dirus* complex.
43+
44+
.. image:: https://phil.cdc.gov//PHIL_Images/8777/8777_lores.jpg
45+
3846
Documentation for the `Pf7 <https://malariagen.github.io/parasite-data/pf7/api.html>`_ (*Plasmodium falciparum*)
3947
and `Pv4 <https://malariagen.github.io/parasite-data/pv4/api.html>`_ (*Plasmodium vivax*) APIs is also available,
4048
currently hosted on a separate site.

malariagen_data/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# flake8: noqa
2+
from .adir1 import Adir1
23
from .af1 import Af1
34
from .ag3 import Ag3
45
from .amin1 import Amin1

0 commit comments

Comments
 (0)