- 论坛徽章:
- 0
|
jason680大哥,你好,用你这个代码,为什么有的结果跑的不对,例如
chromosome2 CDS 10000963 10001045 - GRMZM2G007157_T01
chromosome2 CDS 10000687 10000822 - GRMZM2G007157_T01
chromosome2 CDS 10000514 10000565 - GRMZM2G007157_T01
chromosome2 CDS 10000076 10000176 - GRMZM2G007157_T01
chromosome2 CDS 9999790 9999972 - GRMZM2G007157_T01
chromosome2 CDS 9999549 9999706 - GRMZM2G007157_T01
chromosome2 CDS 9999283 9999337 - GRMZM2G007157_T01
chromosome2 CDS 9999082 9999135 - GRMZM2G007157_T01
chromosome2 CDS 9998563 9998979 - GRMZM2G007157_T01
chromosome2 intron 10000823 10000962 - GRMZM2G007157_T01
chromosome2 intron 10000566 10000686 - GRMZM2G007157_T01
chromosome2 intron 10000177 10000513 - GRMZM2G007157_T01
chromosome2 intron 9999973 10000075 - GRMZM2G007157_T01
chromosome2 intron 9999707 9999789 - GRMZM2G007157_T01
chromosome2 intron 9999338 9999548 - GRMZM2G007157_T01
chromosome2 intron 9999136 9999282 - GRMZM2G007157_T01
chromosome2 intron 9998980 9999081 - GRMZM2G007157_T01
跑出的结果是这样的:
chromosome2 10000076 10000075 - GRMZM2G007157_T01 17 101,337,52,121,136,140,83,417,102,54,147,55,211,158,83,183,103 0,101,438,490,611,747,887,-1513,-1096,-994,-940,-793,-738,-527,-369,-286,-103
而应该是这样的:
chromosome2 9998563 10001045 - GRMZM2G007157_T01 17 417,102,54,147,55,211,158,83,183,103,101,337,52,121,136,140,83
0,417,519,573,720,775,986,1144,1227,1410,1513,1614,1951,2003,2124,2260,2400
谢谢您和论坛的衷心帮助,已经提高了不少,谢谢
回复 3# jason680
|
|