Off topic:HOW EDIT VCF FILE COLUMNS
1
0
Entering edit mode
3.6 years ago
misbahabas ▴ 60

I want to change position column in vcf files. Please tell me any script or tool which solve the following issues. i am new in programming

If i have a vcf file like this

pos ref alt

1 C G

2 A T

3 C G

4 T C

5 G C

6 T A

7 T G

8 C T

9 A C

10 C A

Now i want to add some value in vcf positions values untill ending position come like add 10 into position values untill 15 then move next value 18 and add untill 25 come

10-15

18-25

40-50

I want output like this

pos ref alt

11 C G

12 A T

13 C G

14 T C

15 G C (when 15 come it stops addition and move next value)

24 T A

25 T G (second ending position come now move next)

48 C T

49 A C

50 C A

please give me any idea about it

thankx

perl vcf tool SNP • 2.1k views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 2311 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