上一页 1 ··· 68 69 70 71 72 73 74 75 76 ··· 341 下一页
摘要: ndarray的合并 定义要使用的数据源 a = np.array([1, 1, 1]) b = np.array([2, 2, 2]) print('a', a) print('b', b) <class 'numpy.ndarray'> a [1 1 1] b [2 2 2] numpy.vst 阅读全文
posted @ 2023-02-02 20:21 emanlee 阅读(981) 评论(0) 推荐(0)
摘要: time库是python中处理时间的标准库。 计算机时间的表达:time()、ctime()、gmtime(); 提供获取系统时间并格式化输出功能: strftime()、strptime() 提供系统级精确计时功能可用于程序性能分析: sleep()、perf_counter() 时间获取 tim 阅读全文
posted @ 2023-02-02 15:36 emanlee 阅读(839) 评论(0) 推荐(0)
摘要: wget https://github.com/arq5x/bedtools2/archive/v2.25.0.tar.gztar xzvf v2.25.0 cd bedtools2-2.25.0/makecd bin/export PATH=$PWD:$PATH REF https://www.c 阅读全文
posted @ 2023-02-01 21:57 emanlee 阅读(346) 评论(0) 推荐(0)
摘要: REF https://daler.github.io/pybedtools/search.html?q=cat 示例数据: # more /python3.8/site-packages/pybedtools/test/data/a.bedchr1 1 100 feature1 0 +chr1 1 阅读全文
posted @ 2023-02-01 20:03 emanlee 阅读(876) 评论(0) 推荐(0)
摘要: model = tf.keras.models.Sequential 解决方法: 这个问题是没有导库进来解决方法:from tensorflow import keras TensorFlow 1.X 和 2.X差异很多,其中,导入包也会有很多差异。 对于已有的代码,通过他们导入的方式可以判别是 T 阅读全文
posted @ 2023-01-30 21:43 emanlee 阅读(1764) 评论(0) 推荐(0)
摘要: centos linux 统计文件行数和列数 centos linux 统计文件行数 wc -l filename centos linux 统计文件列数(列分隔符为空格或Tab) awk 'END{print NF}' filename centos linux 统计文件列数,指定列分隔符为逗号: 阅读全文
posted @ 2023-01-30 20:39 emanlee 阅读(910) 评论(0) 推荐(0)
摘要: AttributeError: module 'numpy' has no attribute 'object' 解决方案: pip uninstall numpy pip install numpy==1.23.4 Since version 1.24 of numpy, np.object is 阅读全文
posted @ 2023-01-30 12:21 emanlee 阅读(19853) 评论(0) 推荐(0)
摘要: conda install ipyparams import ipyparamscurrentNotebook = ipyparams.notebook_name 阅读全文
posted @ 2023-01-29 13:50 emanlee 阅读(363) 评论(0) 推荐(0)
摘要: 将bigwig转换为wig conda install -c bioconda ucsc-bigwigtowig bigWigToWig signal.bigWig signal.wig bigWigToWig : Convert bigWig to wig. http://hgdownload.c 阅读全文
posted @ 2023-01-28 23:55 emanlee 阅读(441) 评论(0) 推荐(0)
摘要: 查看 anaconda3 安装了哪些虚拟环境 conda env list 或 conda info -e 确认当前存在什么虚拟环境。 [rin]# conda env list# conda environments:# /home/ji/software/Anaconda/base * /hom 阅读全文
posted @ 2023-01-28 15:27 emanlee 阅读(921) 评论(0) 推荐(0)
上一页 1 ··· 68 69 70 71 72 73 74 75 76 ··· 341 下一页