- 博客(18)
- 收藏
- 关注
原创 Xshell连接VirtualBox中CentOS总结20190603
1,设置->网络,设置网络地址转换,高级->端口转发2.设置TCP,主机端口随便设置,子系统端口223,打开xshell,设置如下或者使用遇到的问题1,虚拟机未开启开启22端口修改配置文件sudo vi /etc/ssh/sshd_config 确保以下监听端口已经开启Port 22重启ssh服务systemctl sshd restart...
2019-06-03 22:21:35
219
原创 Git上传
配置git// 绑定用户$ git config --global user.name "Your Name" $ git config --global user.email "email@example.com"// 配置 SSHssh-keygen -t rsa -C "youremail@example.com" # 在用户主目录下产生.ssh文件夹,复制id_rsa.pub的...
2019-05-30 10:31:51
130
原创 软件安装问题
R# configure: error: No Fortran compiler found// 缺少编译器sudo yum -y install gcc-gfortran# configure: error: --with-readline=yes (default) and headers/libs are not availablesudo yum install readline...
2019-05-21 11:12:30
3215
1
原创 centos编译器安装
// 相关编译器安装,需要root权限yum -y install gccyum -y install gcc-gfortranyum -y install gcc-c++
2019-05-21 09:50:11
874
原创 wget参数整理
// 下载单个文件 wget http://example.com/file.iso // 中断后重新下载,不覆盖原有文件 wget http://example.com/file.iso -nc // 自定义下载文件名 wget --output-document=filename.html example.com // 存到指定的目录 wget -...
2019-05-09 08:49:46
232
转载 批量NCBI基因组数据方法
从网上下载单个文件wget http://example.com/file.iso下载一个文件,但以不同的名字存为本地文件wget --output-document=filename.html example.com下载一个文件,存到指定的目录wget --directory-prefix=folder/subfolder example.com恢复之前中断的一个wget下载wg...
2019-05-08 16:59:48
2166
原创 ERROR: Parsnp requires 2 or more genomes to run, exiting
// 原因genomes must be within +/- 30% (bp) of the reference.// 办法换一个参考基因组就行了
2019-05-06 15:19:19
425
原创 查找并移动文件
find . -name "*fastq.gz"|grep GEN190734SZ|xargs -i mv {} /home/dengqiuyang/test/
2019-05-05 08:25:21
722
原创 python运行报错
1,‘builtin_function_or_method’ object is not subscriptable原因:这个问题一般是问题行内有圆括号缺失或者方括号的缺失。
2019-04-29 08:37:55
300
原创 R语言学习
数据类型向量列表a=1:10dim(a)=c(2,5)b=as.data.frame(a)b$V1 //和b[,1]一样,取第一列index=grep("RNA-Seq",data$v1) //抓取“RNA-Seq”的行index
2019-04-28 09:54:08
204
转载 yum阿里云配置
yum 软件包管理器// yum根据能够从指定的服务器自动下载RPM包并且安装,可以自动处理依赖性关系,并且一次安装所有依赖的软件包,无须繁琐地一次次下载、安装;由于指定的源在国外,网速较慢或者无法连接,配置使用阿里巴巴的源.教程链接修改CentOS7.repo文件vi /etc/yum.repos.d删除所有内容粘贴一些内容[base]name=CentOS-$releasev...
2019-04-28 09:53:43
741
原创 服务器管理
2019.4.22//重启networkmanagersystemctl start NetworkManager//检查ssh服务是否开启service sshd status|grep active
2019-04-28 09:53:09
139
原创 表格数据查找替换
dataframe 数据替换// 全局部分替换,需要使用正则df.replace(tag,','.join([gene,product]),regex=True,inplace=True)// 这只会替换一个单元格df.replace(tag,','.join([gene,product]),inplace=True)...
2019-04-28 09:52:17
246
转载 xlrd读取多个sheets
import pandas as pdimport xlrdfile = '临时表.xls'wb = xlrd.open_workbook(file)sheets = wb.sheets()for i in sheets: df= pd.read_excel(file, sheet_name=i, header=1, index=False) df.head()...
2019-04-18 08:57:24
2867
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人