上一页 1 ··· 46 47 48 49 50 51 52 53 54 ··· 367 下一页
摘要: 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) 编辑
摘要: 001、cpu a、 [root@pc1 home]# lscpu | head ## lscpu命令 Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 4 On-line CP 阅读全文
posted @ 2023-09-29 22:54 小鲨鱼2018 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 001、 >>> list1 = ["aa", "bb", "cc", "dd"] ## 列表1 >>> list2 = [111, 222, 333, 444] ## 列表2 >>> list3 = [] >>> for i in range(len(list1)): ... list3.appe 阅读全文
posted @ 2023-09-29 21:42 小鲨鱼2018 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 001、 [root@pc1 test1]# ls a.fastq ASCII2num.txt test.py [root@pc1 test1]# head -n 4 a.fastq ## 测试fasta文件 @SRR12342886.1 1/1 TCTTCAAAAATTTCTCACAGCTTGTT 阅读全文
posted @ 2023-09-29 18:36 小鲨鱼2018 阅读(25) 评论(0) 推荐(0) 编辑
摘要: 001、测序数据为fastq格式 fastq格式数据没四行为一个单位,其中第二行是碱基,第四行为对应的碱基质量值: 如下: (base) [b20223040323@admin1 test01]$ ls ## 测试fastq格式数据 test.fastq (base) [b20223040323@a 阅读全文
posted @ 2023-09-29 18:29 小鲨鱼2018 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 001、 [root@pc1 test2]# ls test.py [root@pc1 test2]# cat test.py ## 测试程序 #!/usr/bin/env python3 # -*- coding: utf-8 -*- import re str1 = "abcdefghijklm 阅读全文
posted @ 2023-09-28 22:01 小鲨鱼2018 阅读(37) 评论(0) 推荐(0) 编辑
摘要: 001、生成 nN nnNN nnnNNN .... a、 [root@pc1 test1]# ls test.py [root@pc1 test1]# cat test.py ## 测试程序 #!/usr/bin/env python3 # -*- coding: utf-8 -*- for i 阅读全文
posted @ 2023-09-28 20:46 小鲨鱼2018 阅读(18) 评论(0) 推荐(0) 编辑
上一页 1 ··· 46 47 48 49 50 51 52 53 54 ··· 367 下一页