Estimation of Recent Shared Ancestry Using ERSA
0
0
Entering edit mode
8.1 years ago
Caragh ▴ 40

Hi there,

I am trying to estimate recent shared ancestry using ERSA2.1. However, when I run the below command, I get "no_sig_rel" for all individuals.

ersa --segment_files=mydata.match --control_files=ceu.match --output_file=mydata.out --confidence-level 0.8

From PiHAT calculations there does appear to be related individuals in the dataset, with PiHAT scores as high as 0.5.

As a sanity check I went on to run the example in the ERSA read me file (see command below).

 ersa --segment_files=data/family.match --control_files=data/ceu.match --pair_file=data/pairs.txt --output_file=example.out --confidence-level 0.8

And I received the same "no_sig_rel" for all but 1 pair of individuals.

Has anyone else had experience running this program? Am I leaving something out in the command? Any help would be greatly appreciated.

Many thanks,

Caragh

IBD GWAS Identity by Descent Shared Ancestry • 1.7k views
ADD COMMENT
0
Entering edit mode

ersa2.0 worked for me (well, a bit), but it seems to have different synthax...

ADD REPLY
0
Entering edit mode

Would you be able to shared your syntax? I managed to get ersa1.0 working using their python scripts but the results are still giving me "no_sig_rel" for most of the individuals, despite their PiHAT stating otherwise.

ADD REPLY
0
Entering edit mode

I'll have a look at my code and share it later today. However I'm not 100% sure I used it correctly (in the fifth degree everyone turned out to be related which I'm very sure of is not the case). How many samples do you have?

ADD REPLY
0
Entering edit mode

I was using ersa for ~200 genomes. Essentially:

  1. I removed all variants which weren't sequenced for all individuals and also excluded all indels (those gave some problems...). I had to split my variant file per chromosome because I had some problems in phasing "across" chromosomes. Major headache to find out what was going on.
  2. I converted my variants to plink format
  3. Using germline and beagle I performed phasing with the bash script "phasing pipeline" which can be found here: http://www.cs.columbia.edu/~gusev/germline/
  4. I ran python ersa chr*.match (essentially ersa on all .match files generated)

I'm currently not planning to try ersa further but would be happy to hear your feedback.

ADD REPLY

Login before adding your answer.

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