上一页 1 ··· 166 167 168 169 170 171 172 173 174 ··· 408 下一页
摘要: 001、 shell实现 [root@PC1 test]# ls test.fa [root@PC1 test]# cat test.fa ## 测试fasta文件 > chr1 ddddgggg ddfgg > chr2 eertttt dddddg > chr3 dfdfgggg lljhhhh 阅读全文
posted @ 2022-09-28 15:58 小鲨鱼2018 阅读(177) 评论(0) 推荐(0)
摘要: 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 阅读(77) 评论(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 阅读(238) 评论(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 阅读(672) 评论(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 阅读(7929) 评论(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 阅读(537) 评论(0) 推荐(0)
摘要: 。。。 阅读全文
posted @ 2022-09-23 15:37 小鲨鱼2018 阅读(19) 评论(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 阅读(710) 评论(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 阅读(170) 评论(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 阅读(809) 评论(0) 推荐(0)
上一页 1 ··· 166 167 168 169 170 171 172 173 174 ··· 408 下一页