Skip to content

Commit 92a4366

Browse files
Merge pull request #1257 from tristanpwdennis/add-As1
Add As1 support
2 parents cc94c93 + a146798 commit 92a4366

File tree

41 files changed

+1529
-14
lines changed

Some content is hidden

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

41 files changed

+1529
-14
lines changed

docs/source/As1.rst

Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,141 @@
1+
As1
2+
=====
3+
4+
This page provides a curated list of functions and properties available in the ``malariagen_data`` API
5+
for data on *Anopheles stephensi* species mosquitoes.
6+
7+
To set up the API, use the following code::
8+
9+
import malariagen_data
10+
as1 = malariagen_data.As1()
11+
12+
All the functions below can then be accessed as methods on the ``as1`` object. E.g., to call the
13+
``sample_metadata()`` function, do::
14+
15+
df_samples = as1.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.as1.As1
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+
SNP frequency analysis
76+
----------------------
77+
.. autosummary::
78+
:toctree: generated/
79+
80+
snp_allele_frequencies
81+
snp_allele_frequencies_advanced
82+
aa_allele_frequencies
83+
aa_allele_frequencies_advanced
84+
plot_frequencies_heatmap
85+
plot_frequencies_time_series
86+
plot_frequencies_interactive_map
87+
88+
Principal components analysis (PCA)
89+
-----------------------------------
90+
.. autosummary::
91+
:toctree: generated/
92+
93+
pca
94+
plot_pca_variance
95+
plot_pca_coords
96+
plot_pca_coords_3d
97+
98+
Genetic distance and neighbour-joining trees (NJT)
99+
--------------------------------------------------
100+
.. autosummary::
101+
:toctree: generated/
102+
103+
plot_njt
104+
njt
105+
biallelic_diplotype_pairwise_distances
106+
107+
Heterozygosity analysis
108+
-----------------------
109+
.. autosummary::
110+
:toctree: generated/
111+
112+
plot_heterozygosity
113+
roh_hmm
114+
plot_roh
115+
116+
Diversity analysis
117+
------------------
118+
.. autosummary::
119+
:toctree: generated/
120+
121+
cohort_diversity_stats
122+
diversity_stats
123+
plot_diversity_stats
124+
125+
Diplotype clustering
126+
--------------------
127+
.. autosummary::
128+
:toctree: generated/
129+
130+
plot_diplotype_clustering
131+
132+
Fst analysis
133+
------------
134+
.. autosummary::
135+
:toctree: generated/
136+
137+
average_fst
138+
pairwise_average_fst
139+
plot_pairwise_average_fst
140+
fst_gwss
141+
plot_fst_gwss
3.4 MB
Loading

docs/source/index.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,17 @@ API documentation
3333
:align: center
3434
:width: 100%
3535

36+
.. grid-item-card:: ``As1``
37+
:link: As1
38+
:link-type: doc
39+
40+
*Anopheles stephensi*.
41+
42+
.. image:: ./_static/images/anopheles_stephensi.jpg
43+
:alt: Anopheles stephensi mosquito mosquito
44+
:align: center
45+
:width: 100%
46+
3647
.. grid-item-card:: ``Amin1``
3748
:link: Amin1
3849
:link-type: doc

malariagen_data/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
from .af1 import Af1
55
from .ag3 import Ag3
66
from .amin1 import Amin1
7+
from .as1 import As1
78
from .anopheles import AnophelesDataResource, Region
89
from .pf7 import Pf7
910
from .pf8 import Pf8

0 commit comments

Comments
 (0)