Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Per site nucleotide diversity #60

Closed
priyanka-surana opened this issue Oct 13, 2023 · 2 comments · Fixed by #62
Closed

Per site nucleotide diversity #60

priyanka-surana opened this issue Oct 13, 2023 · 2 comments · Fixed by #62
Labels
feature Requests for new features user request Requests made by users and public
Milestone

Comments

@priyanka-surana
Copy link
Contributor

Description of feature

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

vcftools --vcf $vcf --site-pi --positions $locations --out $prefix
  • Variant file is input, it can be vcf, vcf.gz or bcf
  • You will need to patch in positions, it is not defined in the module. Best to combine this with bed_arg.
  • positions is optional, we will most of the time not have this option

This feature requested by Alex Twyford.

@priyanka-surana priyanka-surana added enhancement Improvement of the existing features feature Requests for new features user request Requests made by users and public labels Oct 13, 2023
@priyanka-surana priyanka-surana added this to the 1.1.0 milestone Oct 13, 2023
@gq1
Copy link
Member

gq1 commented Nov 7, 2023

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
Copy link
Member

gq1 commented Nov 8, 2023

#62

@muffato muffato linked a pull request Nov 10, 2023 that will close this issue
9 tasks
@gq1 gq1 closed this as completed Nov 16, 2023
@github-project-automation github-project-automation bot moved this from Todo to Done in Genome After Party Nov 16, 2023
@muffato muffato moved this to Done in variantcalling Jun 5, 2024
@muffato muffato removed the enhancement Improvement of the existing features label Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Requests for new features user request Requests made by users and public
Projects
Status: Done
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants