04 2023 档案
摘要:001、 curl https://get.docker.com | sh
阅读全文
摘要:001、直接下载静态执行程序 github地址: wget https://github.com/dellytools/delly/releases/download/v1.1.6/delly_v1.1.6_linux_x86_64bit 002、添加执行权限 chmod +x delly_v1.1
阅读全文
摘要:001、 star报错 002、解决方法 fastq文件为压缩格式,运行时需添加该参数: --readFilesCommand zcat
阅读全文
摘要:01、 conda install kallisto -c bioconda 02、调用测试 root@DESKTOP-A31BQ38:~/anaconda3/bin# kallisto --help | head Error: invalid command --help kallisto 0.4
阅读全文
摘要:001、conda直接安装 conda install -c bioconda stringtie 002、调用测试 root@DESKTOP-A31BQ38:~/anaconda3/bin# ./stringtie --help | head StringTie v2.1.7 usage: str
阅读全文
摘要:001、 官网:https://subread.sourceforge.net/ 下载: 02、解压 tar -xzvf subread-2.0.5-Linux-x86_64.tar.gz 03、进入以下目录: cd subread-2.0.5-Linux-x86_64/ 04、调用测试 ./fea
阅读全文
摘要:01、问题 02、解决方法 a、 root@DESKTOP-A31BQ38:/home/software/gatk-4.4.0.0# which python3 ## 确定已经安装python; 或者执行 which python, 输出python可调用路径 /usr/bin/python3 b、
阅读全文
摘要:01、问题 02、ubuntu系统 root@DESKTOP-A31BQ38:/home/software# lsb_release -a 03、解决方法 root@DESKTOP-A31BQ38:/home/software# apt install bzip2 参考:https://blog.c
阅读全文
摘要:R语言中数据框除以向量,规则是数据框中的元素按照列依次递增,除数向量循环递增。 001、 a <- c(20, 10, 6, 8) b <- c(2, 4, 12, 8) c <- c(6, 8, 14, 14) dat <- data.frame(a, b, c) dat idx <- c(2,
阅读全文
摘要:001、 (py38) root@DESKTOP-IDT9S0E:/home/test# ls a.txt index.txt record.sh (py38) root@DESKTOP-IDT9S0E:/home/test# cat a.txt ## 测试数据 01 02 03 04 05 06
阅读全文
摘要:001、 (py38) root@DESKTOP-IDT9S0E:/home/test# ls a.txt index.txt record.sh (py38) root@DESKTOP-IDT9S0E:/home/test# cat a.txt ## 测试数据 01 02 03 04 05 06
阅读全文
摘要:001、 library(BiocManager) BiocManager::install("DESeq2")
阅读全文
摘要:001、 c1 <- c("a", "b", "a", "a", "b", "c") c2 <- c(3, 1, 4, 7, 8, 2) dat <- data.frame(c1, c2) ## 测试数据框 dat aggregate(dat$c2, by=list(dat$c1), sum) ##
阅读全文
摘要:001、 library(tidyverse) ## 加载包 a <- c(3, 5, 2, 1) b <- letters[1:4] c <- LETTERS[1:4] dat <- data.frame(a, b, c) dat column_to_rownames(dat, "a") ## 将
阅读全文
摘要:001、测试数据框 studentID <- seq(1, 20) gender <- rep(c("M", "M", "F", "F", "F"), 4) math <- rep(c(92, 86, 85, 74, 82), 4) english <- rep(c(76, 69, 82, 71,
阅读全文
摘要:01、下载 git clone https://github.com/billzt/readfq.git 02、编译 gcc -o kseq_fastq_base kseq_fastq_base.c -lz 03、统计fastq文件的reads数目和碱基数目 #!/bin/bash for i in
阅读全文
摘要:01、ubuntu系统: (py38) root@DESKTOP-IDT9S0E:/home/software/readfq# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubunt
阅读全文
摘要:001、 (py38) root@DESKTOP-IDT9S0E:/home/test# cat a.txt ## 测试数据 01 02 03 04 05 06 07 (py38) root@DESKTOP-IDT9S0E:/home/test# cat index.txt ## 计划批量删除的行号
阅读全文
摘要:001、 setfacl -m u:user2:r-x /public/home/user1 ## 授予user2对user1家目录的读和执行的权限 来源:劳老师 用户user1对用户user2授权访问例子:(1)授权user2可读写执行user1的家目录下的所有文件setfacl -m u:use
阅读全文
摘要:001、 安装 conda create -n Py27 python=2.7 conda activate Py27 conda install -c bioconda lumpy-sv conda install -c bioconda samblaster 002、版本测试 (Py27) ro
阅读全文
摘要:01、报错如下: 02、解决方法: python -m pip install --upgrade pip
阅读全文
摘要:001、 pip install multiqc 002、测试版本 multiqc --version
阅读全文
摘要:001、 conda install -c bioconda iqtree 002、查看版本 iqtree --version
阅读全文
摘要:001、 conda install -c bioconda mafft 002、查看版本 (base) root@DESKTOP-IDT9S0E:/home/test# mafft --version v7.310 (2017/Mar/17)
阅读全文
摘要:001、测试数据 (base) root@DESKTOP-IDT9S0E:/home/test# ls a.map a.ped (base) root@DESKTOP-IDT9S0E:/home/test# cat a.map 1 OAR19_64675012.1 0 85204 1 OAR19_6
阅读全文
摘要:001、 (base) [b20223040323@admin1 test2]$ ls a.txt (base) [b20223040323@admin1 test2]$ cat a.txt ## 测试数目 6 8 9 3 7 5 2 5 6 8 8 2 4 2 7 (base) [b2022304
阅读全文
摘要:001、 (base) [b20223040323@admin1 test2]$ ls a.txt (base) [b20223040323@admin1 test2]$ cat a.txt ## 测试数据 er kj ab ab ab jk ab ab uy dd xy xy xy xy xy m
阅读全文
摘要:001、rev + cut -c实现 (base) [b20223040323@admin1 test]$ ls a.txt (base) [b20223040323@admin1 test]$ cat a.txt ## 测试数据 iuwe sdfdsf 2343 8dsfdj saff 32435
阅读全文
摘要:001、下载安装源代码 wget https://pypi.python.org/packages/fd/94/b7c8c1dcb7a3c3dcbde66b8d29583df4fa0059d88cc3592f62d15ef539a2/HTSeq-0.9.1.tar.gz#md5=fc71e021bf
阅读全文
摘要:01、安装 HTSeq软件出现如下报错,编译失败 02、原因是没有c++编译器,解决方法: apt install g++ ## 安装c++编译器 03、再次安装HTseq,报错消失。
阅读全文
摘要:001、ubuntu系统 (base) root@DESKTOP-IDT9S0E:~# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.5 LTS Releas
阅读全文
摘要:001、系统 root@DESKTOP-IDT9S0E:~# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.5 LTS Release: 20.04 Code
阅读全文
摘要:001、官方网站:https://ngdc.cncb.ac.cn/ 002、入口: 003、输入数据编号: 004、 005、 06、 linux下载说明
阅读全文
摘要:001、删除首次匹配字符及其之前的内容 root@DESKTOP-IDT9S0E:/home/test/test/test# ls a.txt root@DESKTOP-IDT9S0E:/home/test/test/test# cat a.txt ## 测试数据 awQQrQQ24QQ34QQr5
阅读全文
摘要:001、 root@DESKTOP-IDT9S0E:/home/test/test/test# str1="Homo_sapiens.GRCh38.99.chgffromosome.22.gff3" root@DESKTOP-IDT9S0E:/home/test/test/test# str2=${
阅读全文
摘要:001、dirname用于从绝对路径中剥离出路径 002、basename用于从绝对路径中剥离出文件名 测试: root@DESKTOP-IDT9S0E:~# ls root@DESKTOP-IDT9S0E:~# dirname /home/test2/a.sh ## dirname剥离出路径 /h
阅读全文
摘要:01、 systemctl enable ssh 02、 /lib/systemd/systemd-sysv-install enable ssh
阅读全文
摘要:001、将ab替换为QQ (base) [b20223040323@admin2 test2]$ ls a.txt (base) [b20223040323@admin2 test2]$ cat a.txt ## 测试数据 snp1 ab 1072 0 snp4 abde 392 0 snp5 ab
阅读全文
摘要:001、 正常绘图 par(mar=c(6, 6, 6, 6), xpd = TRUE) ## 绘图区域外留白 plot(1:10) legend('right',inset= 0.3, pch=19,legend='xxx') ## 绘图,图例在图形内部 002、图例放在图形正右方 par(mar
阅读全文
摘要:001、 par(mfrow = c(1,2)) plot(1:10,tck = -0.01, main = "tck = -0.01") ## 保持不变,设置弹tck参数设置刻度线长度 plot(1:10,tck = -0.1, main = "tck = -0.1")
阅读全文