sanger-tol / variantcalling

This Nextflow DSL2 pipeline calls variants on long read alignment. It is run after sanger-tol/readmapping in the Sanger ToL production suite but with options to run on unaligned reads.
https://pipelines.tol.sanger.ac.uk/variantcalling
MIT License
3 stars 0 forks source link

Per site nucleotide diversity #60

Closed priyanka-surana closed 7 months ago

priyanka-surana commented 8 months ago

Description of feature

Implement the following command either using the nf-core module.

vcftools --vcf $vcf --site-pi --positions $locations --out $prefix

This feature requested by Alex Twyford.

gq1 commented 7 months ago

https://vcftools.github.io/man_latest.html

--positions <filename>
--exclude-positions <filename>

Include or exclude a set of sites on the basis of a list of positions in a file.

The position file could be used as included or excluded file. Not sure what is the best way to allow user to pass the file in. Ideally, we should have 2 inputs positions_to_include and postions_to_exlcued.

This position file can be associated with site_pi flag, @priyanka-surana do you know what other flag needs this file?

How is this file related to bed_arg?

gq1 commented 7 months ago

https://github.com/sanger-tol/variantcalling/pull/62