上一页 1 ··· 125 126 127 128 129 130 131 132 133 ··· 367 下一页
摘要: 001、问题 (普通用户没有sudoer权限) 002、解决方法 [liujiaxin01@PC1 coreutils-8.32]$ su - root ## 切换至root用户 Password: Last login: Wed Sep 28 11:22:11 CST 2022 on pts/1 阅读全文
posted @ 2022-09-28 11:29 小鲨鱼2018 阅读(49) 评论(0) 推荐(0) 编辑
摘要: 001、 [root@PC1 test]# ls a.txt [root@PC1 test]# cat a.txt h d w q g d t [root@PC1 test]# sed -n "$a,$b"p a.txt ## 同时传入两个变量参数 d w q 阅读全文
posted @ 2022-09-26 12:11 小鲨鱼2018 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 001、 [root@PC1 test]# ls 10.txt 1.txt 4.txt 7.txt a.txt [root@PC1 test]# rm -f {0..9}* ## 删除当前目录中所有以数字开头的文件 [root@PC1 test]# ls a.txt 阅读全文
posted @ 2022-09-26 11:40 小鲨鱼2018 阅读(491) 评论(0) 推荐(0) 编辑
摘要: 在文件的行首添加一行。 001、 echo 实现 [root@PC1 test2]# ls a.txt [root@PC1 test2]# cat a.txt ## 测试文件 a b c [root@PC1 test2]# echo "xxx" | cat - a.txt ## echo实现 xxx 阅读全文
posted @ 2022-09-26 11:06 小鲨鱼2018 阅读(6194) 评论(0) 推荐(0) 编辑
摘要: pindel官网:http://gmt.genome.wustl.edu/packages/pindel/ 001、基本用法 pindel -i simulated_config.txt -f simulated_reference.fa -o xxxxx -c ALL 其中 -i参数用于指定配置文 阅读全文
posted @ 2022-09-25 22:29 小鲨鱼2018 阅读(389) 评论(0) 推荐(0) 编辑
摘要: 。。。 阅读全文
posted @ 2022-09-23 15:37 小鲨鱼2018 阅读(11) 评论(0) 推荐(0) 编辑
摘要: samtools view -bS test.sam > test.bam samtools view -b -S test.sam -o test.bam # 自定义线程数 samtools view -@ 50 -bS test.sam >test.bam 来源:https://blog.csd 阅读全文
posted @ 2022-09-23 08:28 小鲨鱼2018 阅读(382) 评论(0) 推荐(0) 编辑
摘要: 001、 (base) [root@PC1 test]# ls a.txt (base) [root@PC1 test]# cat a.txt ## 测试数据 1 2 3 1 2 3 1 2 3 ## 将相同的序列转换为行 (base) [root@PC1 test]# awk '{if(NR % 阅读全文
posted @ 2022-09-22 11:57 小鲨鱼2018 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 001、脚本模板 #!/bin/bash #SBATCH -J TEST_NAME # 本次作业的名称 #SBATCH -p xhacnormala # 指定作业队列名 #SBATCH -o %j.result # %j将被作业号替代 #SBATCH -e %j.error # 错误日志输出 #SB 阅读全文
posted @ 2022-09-22 11:38 小鲨鱼2018 阅读(602) 评论(0) 推荐(0) 编辑
摘要: 001、 (base) [root@PC1 test]# seq 3 > a.txt (base) [root@PC1 test]# cat a.txt ## 测试数据 1 2 3 (base) [root@PC1 test]# echo >> a.txt ## 末尾追加一个空行 (base) [r 阅读全文
posted @ 2022-09-22 09:52 小鲨鱼2018 阅读(237) 评论(0) 推荐(0) 编辑
上一页 1 ··· 125 126 127 128 129 130 131 132 133 ··· 367 下一页