Merge BEAGLE .gprobs files
0
1
Entering edit mode
9.4 years ago
anastazie.d ▴ 40

Hi,

I have two files in BEAGLE .gprobs format containing genotype probabilities for SNPs that I want to merge.

Is there any software that can do that?

Input files:

1. output from ANGSD software, crated using following command:

./angsd -GL 2 -doGlf 2 -bam /media/4TB2/Ngsadmix/bamlist.txt -doMajorMinor 1 -SNP_pval 1e-6 -doMaf -1 -P 16 -out /media/4TB2/Ngsadmix/angsd13102014

2. PLINK file -> beagle file -> beagle .gprobs file

fcgene --ped ket_ngs_all2_plink.ped --map ket_ngs_all2_plink.map --oformat beagle --out ket_ngs_all2_plink_beagle
java -jar ~/Downloads/beagle2gprobs.jar ket_ngs_all2_plink.markers ket_ngs_all2_plink_beagle.bgl N > ket_ngs_all2_plink_beagle.gprobs

Expected output:

Merged file containing both angsd13102014.gprobs and ket_ngs_all2_plink_beagle.gprobs

Thanks,
Anastassiya

SNP BEAGLE • 3.2k views
ADD COMMENT

Login before adding your answer.

Traffic: 1933 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