Skip to content

Commit

Permalink
Add note to max_alt_alleles docstring about how call fields are unaff…
Browse files Browse the repository at this point in the history
…ected.
  • Loading branch information
tomwhite committed Jul 6, 2021
1 parent 439ed89 commit 5f79076
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions sgkit/io/vcf/vcf_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,8 @@ def vcf_to_zarrs(
specified ploidy will raise an exception.
max_alt_alleles
The (maximum) number of alternate alleles in the VCF file. Any records with more than
this number of alternate alleles will have the extra alleles dropped.
this number of alternate alleles will have the extra alleles dropped (the `variant_allele`
variable will be truncated). Call genotype fields will however be unaffected.
fields
Extra fields to extract data for. A list of strings, with ``INFO`` or ``FORMAT`` prefixes.
Wildcards are permitted too, for example: ``["INFO/*", "FORMAT/DP"]``.
Expand Down Expand Up @@ -651,7 +652,8 @@ def vcf_to_zarr(
specified ploidy will raise an exception.
max_alt_alleles
The (maximum) number of alternate alleles in the VCF file. Any records with more than
this number of alternate alleles will have the extra alleles dropped.
this number of alternate alleles will have the extra alleles dropped (the `variant_allele`
variable will be truncated). Call genotype fields will however be unaffected.
fields
Extra fields to extract data for. A list of strings, with ``INFO`` or ``FORMAT`` prefixes.
Wildcards are permitted too, for example: ``["INFO/*", "FORMAT/DP"]``.
Expand Down

0 comments on commit 5f79076

Please sign in to comment.