You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some functions may require additional citations to acknowledge specific contributions. These are indicated in the description for each relevant function.
Copy file name to clipboardExpand all lines: malariagen_data/anoph/snp_frq.py
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -128,15 +128,15 @@ def snp_effects(
128
128
A dataframe of SNP allele frequencies, one row per variant allele. The variant alleles are indexed by
129
129
their contig, their position, the reference allele, the alternate allele and the associated amino acid change.
130
130
The columns are split into three categories: there is one column for each taxon filter (e.g., pass_funestus, pass_gamb_colu, ...) containing whether the site of the variant allele passes the filter;
131
-
there is then 1 column for each cohort containing the frequency of the variant allele within the cohort, additionally there is a column `max_af` containing the maximum allele frequency of the variant allele accross all cohorts;
131
+
there is then 1 column for each cohort containing the frequency of the variant allele within the cohort, additionally there is a column `max_af` containing the maximum allele frequency of the variant allele across all cohorts;
132
132
finally, there are 9 columns describing the variant allele: `transcript` contains the gene transcript used for this analysis,
133
133
`effect` is the effect of the allele change,
134
134
`impact`is the impact of the allele change,
135
135
`ref_codon` is the reference codon,
136
136
`alt_codon` is the altered codon with the variant allele,
137
137
`aa_pos` is the position of the amino acid,
138
138
`ref_aa` is the reference amino acid,
139
-
`alt_aa` is the altered amino acid with the varaint allele,
139
+
`alt_aa` is the altered amino acid with the variant allele,
140
140
and `label` is the label of the variant allele.
141
141
""",
142
142
notes="""
@@ -299,15 +299,15 @@ def snp_allele_frequencies(
299
299
returns="""
300
300
A dataframe of amino acid allele frequencies, one row per variant. The variants are indexed by
301
301
their amino acid change, their contig, their position.
302
-
The columns are split into two categories: there is 1 column for each cohort containing the frequency of the amino acid change within the cohort, additionally there is a column `max_af` containing the maximum frequency of the amino acide change accross all cohorts;
302
+
The columns are split into two categories: there is 1 column for each cohort containing the frequency of the amino acid change within the cohort, additionally there is a column `max_af` containing the maximum frequency of the amino acid change across all cohorts;
303
303
finally, there are 9 columns describing the variant allele: `transcript` contains the gene transcript used for this analysis,
304
304
`effect` is the effect of the allele change,
305
305
`impact`is the impact of the allele change,
306
-
`ref_allele` is the reference allel,
306
+
`ref_allele` is the reference allele,
307
307
`alt_allele` is the alternate allele,
308
308
`aa_pos` is the position of the amino acid,
309
309
`ref_aa` is the reference amino acid,
310
-
`alt_aa` is the altered amino acid with the varaint allele,
310
+
`alt_aa` is the altered amino acid with the variant allele,
0 commit comments