摘要:
001、shell实现 root@PC1:/home/test2# ls test.txt root@PC1:/home/test2# cat test.txt 3 a 8 a y a a a f y a a a a a e a a a r k root@PC1:/home/test2# awk ' 阅读全文
posted @ 2022-08-03 15:33
小鲨鱼2018
阅读(194)
评论(0)
推荐(0)
摘要:
001、 root@PC1:/home/test3# ls test.py root@PC1:/home/test3# cat test.py #!/usr/bin/python import argparse parser = argparse.ArgumentParser() parser.ad 阅读全文
posted @ 2022-08-03 15:16
小鲨鱼2018
阅读(86)
评论(0)
推荐(0)
摘要:
001、 root@PC1:/home/test2# cat test.txt 1_55910>snp1 0.05591 1_85204>snp2 0.085204 1_122948>snp3 0.122948 1_203750>snp4 0.20375 1_312707>snp5 0.312707 阅读全文
posted @ 2022-08-03 07:18
小鲨鱼2018
阅读(1212)
评论(0)
推荐(0)
摘要:
str_detect函数属于tidyverse包中函数, 功能类似于grepl函数。 001、 str1 <- c("xx", "yy", "zz", "xx", "pp", "xx") str1 grepl("xx", str1) str_detect("xx", str1) 阅读全文
posted @ 2022-08-03 06:22
小鲨鱼2018
阅读(898)
评论(0)
推荐(0)
摘要:
001、shell实现 root@PC1:/home/test2# ls test.txt root@PC1:/home/test2# cat test.txt ## 测试数据, 删除第一次匹配xpehh以外的所有匹配xpehh的行 01 ee ff 02 ee de 03 dd ee 04 jj 阅读全文
posted @ 2022-08-03 05:56
小鲨鱼2018
阅读(185)
评论(0)
推荐(0)
摘要:
001、 root@PC1:/home/test2# ls test.map root@PC1:/home/test2# cat test.map ## 用一个map文件进行测试,按照染色体打乱顺序 6 snp16 0 312984 1 snp2 0 85204 5 snp15 0 204629 6 阅读全文
posted @ 2022-08-03 00:45
小鲨鱼2018
阅读(408)
评论(0)
推荐(0)
摘要:
001、压缩保留源文件 root@PC1:/home/test2# ls outcome.map root@PC1:/home/test2# gzip -c outcome.map > new.map.gz ## 压缩为gz文件,并保留源文件 root@PC1:/home/test2# ls new 阅读全文
posted @ 2022-08-03 00:20
小鲨鱼2018
阅读(734)
评论(0)
推荐(0)

浙公网安备 33010602011771号