上一页 1 ··· 111 112 113 114 115 116 117 118 119 ··· 408 下一页
摘要: 001、创建数组 [root@PC1 test02]# ay=(1 2 3 4) ## 生成数组 [root@PC1 test02]# echo ${ay[*]} ## 输出数组 1 2 3 4 [root@PC1 test02]# echo ${#ay[*]} ## 输出数组的长度 4 002、 阅读全文
posted @ 2023-07-05 18:11 小鲨鱼2018 阅读(264) 评论(0) 推荐(0)
摘要: 001、最大值和最小值 [root@PC1 test03]# ls a.txt [root@PC1 test03]# cat a.txt ## 测试数据 a 6 a 9 a 7 b 5 b 10 b 5 b 9 c 5 c 3 c 4 c 1 ## 根据第一列输出最大值 [root@PC1 test 阅读全文
posted @ 2023-07-05 08:33 小鲨鱼2018 阅读(253) 评论(0) 推荐(0)
摘要: 001、 [root@PC1 test03]# ls a.txt b.txt [root@PC1 test03]# cat a.txt ## 测试数据连续递增 1 2 3 4 5 6 [root@PC1 test03]# cat b.txt ## 测试数据,非连续递增 1 2 3 5 6 [root 阅读全文
posted @ 2023-07-04 22:42 小鲨鱼2018 阅读(134) 评论(0) 推荐(0)
摘要: 001、ls默认是按照文件名称顺序列出的 [root@PC1 test02]# ls ## 测试文件 a.txt b.txt c.txt [root@PC1 test02]# ls -l ## 默认按照文件名称顺序 total 125000 -rw-r--r--. 1 root root 15360 阅读全文
posted @ 2023-07-04 19:58 小鲨鱼2018 阅读(1050) 评论(0) 推荐(0)
摘要: 001、文件对象read读入文件 >>> in_file = open("a.txt", "r") >>> in_file.read() ## 'abcd\nefgh\ni\n' 002、文件对象tell 返回指针再文件中的位置 >>> in_file = open("a.txt", "r") ## 阅读全文
posted @ 2023-07-03 18:11 小鲨鱼2018 阅读(505) 评论(0) 推荐(0)
摘要: 001、数据(山羊ARS1的gff文件) 脚本 如下: (base) [b20223040323@admin2 001_standard_gff_file]$ cat record.sh #!/bin/bin ## step1: eliminate the influence of pseudoge 阅读全文
posted @ 2023-07-02 22:27 小鲨鱼2018 阅读(682) 评论(0) 推荐(0)
摘要: 001、基础绘图 ggplot(data=mtcars, aes(x=mpg, y=disp, color=factor(cyl))) + geom_point() 02、手动调整颜色 ggplot(data=mtcars, aes(x=mpg, y=disp, color=factor(cyl)) 阅读全文
posted @ 2023-07-02 09:44 小鲨鱼2018 阅读(422) 评论(0) 推荐(0)
摘要: 001、测试数据 [root@PC1 test]# ls aa.txt [root@PC1 test]# cat aa.txt Qinghai Qinghai shandong Shanghai shanxi [root@PC1 test]# cat -A aa.txt Qinghai$ Qingh 阅读全文
posted @ 2023-07-01 21:02 小鲨鱼2018 阅读(179) 评论(0) 推荐(0)
摘要: 001、 [root@PC1 test02]# ls a.txt [root@PC1 test02]# cat a.txt ## 测试数据 333 kkk gene 777 1 333 kkk exon 777 2 333 kkk exon 777 3 333 kkk gene 777 4 333 阅读全文
posted @ 2023-06-30 09:26 小鲨鱼2018 阅读(74) 评论(0) 推荐(0)
摘要: 以SRR1770413 为例: 001、测序的碱基数目 测序碱基数目为:387.2M。 002、参考基因组的大小 a、下载参考基因组,并统计基因组的大小 [root@PC1 test01]# ls GCF_000005845.2_ASM584v2_genomic.fna.gz [root@PC1 t 阅读全文
posted @ 2023-06-25 00:00 小鲨鱼2018 阅读(53) 评论(0) 推荐(0)
上一页 1 ··· 111 112 113 114 115 116 117 118 119 ··· 408 下一页