API
A fake vcf file generator
- fake_vcf.get_version() str
Retrieve the version of the package.
- Returns:
str: The version of the package, or ‘unknown’ if the version cannot be found.
- fake_vcf.vcf_generator.fake_vcf_data(fake_vcf_path, num_rows, num_samples, chromosome, seed, sample_prefix, phased, large_format, reference_dir_path)
Generates fake VCF data and writes it to either a file or standard output.
- Args:
fake_vcf_path (Path or None): Path to the fake VCF file or None to write to standard output. num_rows (int): Number of rows. num_samples (int): Number of samples. chromosome (str): Chromosome identifier. seed (int): Random seed for reproducibility. sample_prefix (str): Prefix for sample names. phased (bool): Phased or unphased genotypes. large_format (bool): Use large format VCF. reference_dir_path (Path or None): Path to imported reference data.