Python API¶
The command line is the primary interface, but the package is importable for scripting.
Selected modules¶
| Module | Contents |
|---|---|
bsaseq.core.models |
Variant, Window dataclasses |
bsaseq.core.stats |
calculate_allele_frequency, calculate_delta_af, calculate_g_statistic, tricube_weight |
bsaseq.io.vcf |
get_sample_names, parse_vcf_to_list, write_candidates_vcf |
bsaseq.analysis.windows |
calculate_windows |
bsaseq.analysis.candidates |
identify_candidate_regions, annotate_candidates |
bsaseq.plotting.genome |
plot_genome_wide |
Note
The public API is not yet stability-guaranteed across minor versions. Pin a version if you script against these functions.