gramtools icon indicating copy to clipboard operation
gramtools copied to clipboard

Add --min-allele-freq argument to build command

Open sm0179 opened this issue 7 years ago • 4 comments

add --min_freq arg to build step to be passed to the vcf_to_linear_prg script, for filtering variants in the vcf by allele frequency when constructing the linear PRG

sm0179 avatar Jul 07 '17 13:07 sm0179

@sm0179 What is the use case for this feature?

ffranr avatar Aug 23 '17 11:08 ffranr

the vcf_to_linear_prg script has an option to exclude from the PRG build process variants that occur in the population under a specified frequency (min_freq). this is because sometimes we want only a PRG with common variants. this is all already functional, we just need the build cmd to pass this argument when it calls the vcf_to_linear_prg script

sm0179 avatar Aug 23 '17 11:08 sm0179

That make sense, thank you for clarifying. May I suggest: --min-allele-freq

ffranr avatar Aug 23 '17 11:08 ffranr

definitely

sm0179 avatar Aug 23 '17 11:08 sm0179