
- 帖子
- 5
- 积分
- 17
- 技术
- 0
- 捐助
- 0
- 注册时间
- 2013-12-14
|
一个文件夹里有很多文件,判断文件的大小,小于2G的保存至另一文件夹,大于2G的,从中随机抽取2G的数据,也保存至令一文件夹。
注:问价里面内容的格式如下:
@HWI-ST732R:173:D0RL6ACXX:5:1101:3680:1995 1:N:0:CGATGT
NGACGTTCTTCAATTTTCTTTTTATCAAAGATTTCATCAAGCTTATTCAAGCTATCTTTTGTATCTCGGGACAGTGTTTGAATATTAACGCTAGCGTCTC
+
#1=DDDFFHHHHHJJJJJJJJJJJJJJJJJJJJJJJJJIJJIJJIJJJIHIJJJJJIJJJJJJJJJJIGIGHJIEAEHHHFFFFFFFEEDDDDDDDDDDD
@HWI-ST732R:173:D0RL6ACXX:5:1101:3838:1989 1:N:0:CGATGT
NTAACTAATGGAAGTGCAGAAATTGCAGAAATCAAATTGCCGGAACTGAGAAAAGAGTAACTTTGTCCCGATGAAAGAAAATAACAAAGTTCTATTGG
+
#1=DDFFFHHHHHJIIJJJJJJIJJJJIJJJJJJJJJIJJJJJ@FGIJIJJJIJIJJGHIJJJJJIJJHHHF/@DCCECEDDDDDDDDDCDEEEEEDD
四行是一个整体,抽取数据的时候要一起抽取 |
|