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

How to identify each sample? #166

Closed
FerVallejoLec opened this issue Aug 7, 2017 · 1 comment
Closed

How to identify each sample? #166

FerVallejoLec opened this issue Aug 7, 2017 · 1 comment

Comments

@FerVallejoLec
Copy link

Hi
I was wondering if I could kwon which variations are in each sample.

Thanks.

@tdelhomme
Copy link
Member

Hi,

Actually needlestack returns a multi sample VCF file, so each line corresponds to a particular mutation and each column to a sample, i.e. to the status of the sample for the mutation (see the format field).

You can filter out the VCF for a particular sample using bcftools -s, and after that you can use bcftools filter (manual) to filter on the QVAL field to keep only mutated positions on this sample. The QVAL field corresponds to the "probability" of being mutated.

Do not hesitate to ask if something is still unclear!

@mfoll mfoll closed this as completed Mar 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants