Here is the Input:
1 rs2905037-G-A 0 775426
1 rs6701114-C-T 0 1022037
2 SNP1-G-T 0 2
10 rs7918734-C-A 0 192533
10 rs1476129-A-C 0 265520
10 rs1476130-T-A 0 274675
10 rs17221239-C-G 0 285113
Output:
chr1 775425 775426 rs2905037-G-A 20
chr1 1022036 1022037 rs6701114-C-T 20
chr2 1 2 SNP1-G-T 20
chr10 192532 192533 rs7918734-C-A 20
chr10 265519 265520 rs1476129-A-C 20
chr10 274674 274675 rs1476130-T-A 20
chr10 285112 285113 rs17221239-C-G 20
chrX 816303 816304 rs17537524-C-A 20
chrX 2335502 2335503 rs17461767-G-A 20
chrY 47 48 SNP2-T-C 20
23 rs17537524-C-A 0 816304
23 rs17461767-G-A 0 2335503
24 SNP2-T-C 0 48
I am currently using text wrangler trying to create a script. Our professor told us to convert the MAP to BED, which I know that I need to use INPUT/OUTPUT codes. I had a shift in place and my professor said that is correct. Do I need to grep any information out? I just really need a kick start. I understand this stuff when given an instructed assignment, but this is free range so no too much information was provided.
Thank you for your advice!
You are going to need to do a bit more effort on your own than that to get help with your code. Thank you for clarifying that this is an assignment/project.
If I knew more, trust me I would have more. Like I stated before, I am new to all of this.
Thank you for taking the time to respond.