This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Compare different gene identifiers

Hey!

I am trying to compare sets of genes with different identifier types. For example, one set with PROKKA ids and one set with NCBI locus IDs.

Is there any way to compare these two sets to find the common genes? I tried the PATRIC ID Mapper, but it didn't work.

Thanks in advance!

genomes identifiers bacterial genes

Assuming you have the gene coordinates from the same input, you can use intersectBed or coverageBed. I think intersectBed with reporting both hits (-wa -wb) followed by comparing the lines with identical corrdinates of A and B should do it

Hey, thanks for your reply! Unfortunately, I only have the gene identifiers and no other information. That's why I am trying to map them to a commonly-used database to be able to extract further info from there.

0 answers

No answers yet.

Log in to answer this question.