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
Copy file name to clipboardExpand all lines: malariagen_data/anoph/snp_frq.py
+31-16Lines changed: 31 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -119,14 +119,14 @@ def snp_effects(
119
119
@_check_types
120
120
@doc(
121
121
summary="""
122
-
Compute SNP allele frequencies for a gene transcript.
122
+
Compute SNP allele frequencies for a gene transcript or genomic region.
123
123
""",
124
124
returns="""
125
125
A dataframe of SNP allele frequencies, one row per variant allele. The variant alleles are indexed by
126
126
their contig, their position, the reference allele, the alternate allele and the associated amino acid change.
127
127
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;
128
-
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;
129
-
finally, there are 9 columns describing the variant allele: `transcript` contains the gene transcript used for this analysis,
128
+
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;
129
+
finally, there are 9 columns describing the variant allele: `transcript` contains the gene transcript used for this analysis (when provided),
0 commit comments