MAGMA Annotation error
1
0
Entering edit mode
5.9 years ago

I am trying to run the annotation for MAGMA using the Gene locations, build 37 and european populations.

When I run the following code:

magma --annotate window=20,20 --snp-loc NCBI37.3.gene.loc --gene-loc g1000_eur.bim --out build

It skips every line and gives the error:

WARNING: on line 5522658, chromosome code 'rs188565905' not recognised; skipping gene (ID = 4)

at every position.

Also only a log file is produced. All of my files are in the same directory and they were taken from the magma site. Any information on where the issue lies?

magma annotation error • 2.3k views
ADD COMMENT
0
Entering edit mode

Please use the formatting bar (especially the code option) to present your post better. I've done it for you this time.
code_formatting

ADD REPLY
0
Entering edit mode
5.9 years ago
h.mon 35k

I have never run MAGMA, but just by reading you command-line, it appears to me you are swapping the arguments:

--snp-loc NCBI37.3.gene.loc

--gene-loc g1000_eur.bim

Shouldn't be the other way around?

--snp-loc g1000_eur.bim --gene-loc NCBI37.3.gene.loc

The error message indicates the same:

hromosome code 'rs188565905' not recognised

ADD COMMENT

Login before adding your answer.

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