Minor Allele Frequency Filtration
2
0
Entering edit mode
9.7 years ago
basalganglia ▴ 40

Hi everybody,

I want to filter variants according to MAF < 0.001 but I dont know which programs will I have to use ?

Thanks,

BG

Minor allele frequency annovar plink • 3.2k views
ADD COMMENT
1
Entering edit mode
9.7 years ago
fusion.slope ▴ 250

I used plink:

./plink --vcf myfile.vcf --maf 0.001--recode vcf --out myfilefiltered.vcf
ADD COMMENT
0
Entering edit mode

Thanks!! I'll try :)

ADD REPLY
0
Entering edit mode

Which plink version are you using?

ADD REPLY
0
Entering edit mode

plink-1.07-x86_64 v1.07 version

ADD REPLY
0
Entering edit mode

You should use plink 1.9, is the most updated and I worked using that version. See the link https://www.cog-genomics.org/plink2/

ADD REPLY
0
Entering edit mode

It works :)

Thanks!

ADD REPLY
0
Entering edit mode

Hi,

I got some errors as ;

Unused command line option: vcf
 Unused command line option: --vcf
Writing this text to log file [ myfilefiltered.vcf.log ]

Could you please help me and is it working for vcf file ?

Thanks !!!

ADD REPLY
1
Entering edit mode
9.7 years ago

PLINK is only usable here if you only need to keep hard genotype calls from the VCF. Otherwise, you should use vcftools or a similar VCF-based program.

ADD COMMENT
0
Entering edit mode
Could you please explain what does it mean "hard Genotype calls"? Thanks! P.s. I have worked with 39 vcf files
ADD REPLY
0
Entering edit mode

The value in the GT field. PLINK will only track whether the genotype call is 0/0, 0/1, 1/1, or missing; if there is any other information in the VCF (e.g. genotype likelihoods, read depths) it is ignored by PLINK.

Also, if there is more than one ALT allele, PLINK currently throws out all but the most common one; this will be fixed, but it will take a fairly long time.

ADD REPLY
0
Entering edit mode

Ah ok thank you very much for this information!!

ADD REPLY

Login before adding your answer.

Traffic: 2364 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6