GWAS results: base pair annotation
Hello,
I have a question regarding annotation of GWAS results.
Here is the sample files
File1 Below is the File1 with HG38id column name that contains chromosome number and base pair position.
HG38id
13:21325916
5:128327887
19:44906745
1:88820990
17:44981703
File2 Below is the File2 with HG38id column name that contains chromosome number and base pair position.
HG38id
13:21325516
5:128327887
19:44906745
1:88820990
17:44981903
I would like to know the ways to check the nearest base pair position between File1 and File2. For instance, 500 base pair lower stream and upper stream.
The output for above given File1 and File2 with 500 base pair lower stream and upper stream is
13:21325916
17:44981703
because these two base pair positions are nearby 500 bases in both files.
What is the way to find the nearest base pair positions (for instance, 500 or 200 base pair lower stream and upper stream) in large files?
Thanks in advance
Sincerely,
Hema
• 33 views
Read more here: Source link