Skip to main content

Generate VCF file with random variants from reference genome

Project description


It generates a VCF file with simulated random variants based on the given probability model.




  Generate VCF file with simulated variants in specified range [low, high)
  for the given region of the reference genome (in FASTA format). In case
  that the region is not specified the first region is used. If no range is
  provided, it is assumed that the variants are scattered throughout the

  For more information, consult with the README file.

  -o, --output FILENAME      Write to this file instead of standard output.
  -m, --mutation-rate FLOAT  Base mutation rate.  [required]
  -r, --region TEXT          Region ID (default=first region in the reference)
  -l, --low INTEGER          Range lower bound (default=first locus in the
  -h, --high INTEGER         Range upper bound (default=last locus in the
  --help                     Show this message and exit.


Usage: ksnper [OPTIONS] [VCF]

  Report the number of SNPs in all k-mers. Specify the k and the VCF file,
  it reports number of SNPS occurred in each k-mer.

  -o, --output FILENAME           Write to this file instead of standard
  -r, --reference FILENAME        Reference genome FASTA file. It will be
                                  inferred from VCF header, if not specified.
  -k INTEGER                      The value of k.  [required]
  -c                              Set if the input VCF is compressed
  -d, --dialect [unix|excel-tab|excel]
                                  Use this CSV dialect.  [default: unix]
  --help                          Show this message and exit.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vcfy-0.0.9.tar.gz (9.5 kB view hashes)

Uploaded source

Built Distribution

vcfy-0.0.9-py2.py3-none-any.whl (12.3 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page