How to clean this strange VCF file?
Hi All,
How to clean this strange VCF file? three different styles occurred: 0, 0/0 and ./.
Thanks.
snp
vcf
• 2,343 views
•
link
written
by
Shicheng Guo
0 answers
No answers yet.
Log in to answer this question.
More posts like this
-
Zn binding sites and active site location in conserved domain database (CDD)
written by Shicheng GuoHi All, I want to investigate the functional domains for gene ACE2. I am using the conserved domains database (CDD) to check the functional domains …
-
miR155HG is significantly up-regulated in EBV-transformed lymphocytes
written by Shicheng GuoHow to understand miR155HG is significantly up-regulated in EBV-transformed lymphocytes? Thanks. **Solved: EBV modulates host miR-155 expression, which is essential for the [growth of EBV-infected …
-
high variability of mapping ratio from STAR RNA-seq mapping pipeline
written by Shicheng GuoHi All, I apply STAR (latest version: 2019) to map human RNA-seq data and I found the uniquely mapping ratio is highly variable ranging from …
-
miRWalk and Cytoscape to show microRNA-mRNA interactions
written by Shicheng GuoHi All, I have about 5 miRNAs and each of them I have some confirmed mRNA target, I want to use the following figure to …
-
Phylogenetic tree with 0,1 matrix as the input?
written by Shicheng GuoHi All, I want to build a tree to reflect the relationship between multiple samples with the following style (Figure 1a, Nature Genetics, PMID: 27749841). …
-
Consensus genotype of MUTECT1, MUTECT2, Varscan, Muse and Somaticsniper
written by Shicheng GuoHi All, Suppose I apply multiple methods such as MUTECT1, MUTECT2, Varscan, Muse and Somaticsniper to call mutations for one sample, How to merge them …
-
Tutorial: How to do data cleaning for VCF genetic file
written by Shicheng GuoHow to do data cleaning for VCF genetic file: 0\. check REF and ALT is correct or not, if not correct, revise them. `bcftools norm …
-
JBrowse, VCF-based Variant Track, "Error incorrect header check"
written by qizhengyang17 •Hi, I run JBrowse on my server, and It works fine with FASTA format sequence file and GFF3 format annotation file. But when JBrowse display …
-
How to open SNPnexus output excel file with R package
written by Shicheng GuoHi All, I want to know how to open SNP nexus output excel files with R? I tried ‘readxl’, ‘gdata’ and some other R package, …
-
Feature Selection for Machine Learning to 17 common ML algorithm
written by Shicheng GuoHi All, Surajvv12 shared his [17 Classification algorithms using R][1] in github, however, he didn't mention the feature selection method. Any friend have some powerful …
0/0 and ./. actually mean different things (this was a surprise to me at one point also). The ./. indicates no-call/no-call e.g. the variant caller made no determination, and 0/0 is homozygous ref. I don't know why you would have haploid things with just "0" in the first column
First, thanks so much for the help!
Second, I guess I can remove these columns with single '0', I am not sure how they come out. I guess maybe caused by windows/Mac/Linux file transfer? or stupid perl/python script converting?
Third, first three columns are mutation calling by 3 different method to same sample: Mut1, Mut2 and VarD. Here, I can merge these 3 columns to a consensus genotype. Do you have any idea to how to obtain the consensus genotype based on these 3 columns?
Thanks.
Shicheng
You will just have to create a rule and then filter based on that rule. For example, you can include a call if it is called in at least 1 sample, or specify that it must be called in all 3 [samples].
There are indirect ways of filtering for this via, for example, using bcftools to filter for the number of missing (
./.) and / or non-missing genotypes at each site.Define "clean" - what is the expected output?