摘要: 001、方法1 借助字典统计 [root@pc1 test2]# ls test.py [root@pc1 test2]# cat test.py ## 测试程序 #!/usr/bin/env python3 # -*- coding: utf-8 -*- list1 = ["aa", "bb", 阅读全文
posted @ 2023-09-30 23:26 小鲨鱼2018 阅读(50) 评论(0) 推荐(0) 编辑
摘要: 001、 [root@pc1 test]# ls a.fastq [root@pc1 test]# head -n 4 a.fastq ## 测试fastq格式数据 @SRR12342886.1 1/1 TCTTCAAAAATTTCTCACAGCTTGTTGTGATCCACACAGTCAAAGGCT 阅读全文
posted @ 2023-09-30 22:10 小鲨鱼2018 阅读(27) 评论(0) 推荐(0) 编辑
摘要: 001、tr实现 a、 [root@pc1 test02]# ls a.txt [root@pc1 test02]# cat a.txt ## 测试文件 01 02 03 04 05 06 07 08 09 10 [root@pc1 test02]# cat a.txt | tr "\n" " " 阅读全文
posted @ 2023-09-30 21:50 小鲨鱼2018 阅读(641) 评论(0) 推荐(0) 编辑
摘要: 001、 [root@pc1 test]# echo -n ! | od -A n -t u1 ## 将ASCII码感叹号转换为十进制数值 33 002、 [root@pc1 test]# echo -n ! | od -A n ## 将ASCII感叹号转换为8进制数值 000041 003、 [r 阅读全文
posted @ 2023-09-30 20:52 小鲨鱼2018 阅读(143) 评论(0) 推荐(0) 编辑