12 2024 档案

摘要:c语言中输出各种数据类型的长度: [root@PC1 test]# ls test.c [root@PC1 test]# cat test.c ## 测试程序 #include <stdio.h> int main(void) { printf("size of char: %u\n", (unsi 阅读全文
posted @ 2024-12-23 13:04 小鲨鱼2018 阅读(15) 评论(0) 推荐(0) 编辑
摘要:001、 C语言中的1U表示的是无符号整数1,即unsigned int型的 1. 阅读全文
posted @ 2024-12-21 09:51 小鲨鱼2018 阅读(28) 评论(0) 推荐(0) 编辑
摘要:001、报错如下: configure: error: curses development files not found 002、rocky9系统 [root@PC1 samtools-1.21]# cat /etc/redhat-release Rocky Linux release 9.4 阅读全文
posted @ 2024-12-20 11:01 小鲨鱼2018 阅读(29) 评论(0) 推荐(0) 编辑
摘要:001、 位(bit)是计算机内部数据存储的最小单位,即0和1; 而字节(byte)是数据处理的基本单位。 1个字节由8个二进制位(bit)组成,可以存储一个字符或表示0到255之间的数字, 2的8次方。 阅读全文
posted @ 2024-12-15 15:04 小鲨鱼2018 阅读(30) 评论(0) 推荐(0) 编辑
摘要:001、 [b20223040323@admin2 test]$ ls test.c [b20223040323@admin2 test]$ cat test.c #include <stdio.h> int main(void) { int i,j,k; ## 三个变量 负数、正数和0 i = - 阅读全文
posted @ 2024-12-15 13:22 小鲨鱼2018 阅读(14) 评论(0) 推荐(0) 编辑
摘要:001、signed既可以表示整数也可以表示负数, 若不指定默认为signed; unsigned表示只可以表示0和正数。 signed 表示有符号的; unsigned表示无符号的; C语言中各种数据类型可以存储的值的范围可以通过一下方式进行输出: [root@localhost test]# l 阅读全文
posted @ 2024-12-15 00:27 小鲨鱼2018 阅读(57) 评论(0) 推荐(0) 编辑
摘要:001、 在Linux系统中,strings命令是一个强大且实用的工具,主要用于从二进制文件中提取可打印的字符序列。这些字符序列通常包括变量名、函数名、注释或任何嵌入的文本信息,对于文件分析和调试具有重要意义 [root@PC1 test]# ls a.txt [root@PC1 test]# ca 阅读全文
posted @ 2024-12-13 15:53 小鲨鱼2018 阅读(79) 评论(0) 推荐(0) 编辑
摘要:Linux中动态链接库环境变量:LD_LIBRARY_PATH 001、 [root@PC1 test]# echo $LD_LIBRARY_PATH 002、 (base) [b20223040323@admin2 test]$ echo $LD_LIBRARY_PATH /public/soft 阅读全文
posted @ 2024-12-13 15:45 小鲨鱼2018 阅读(81) 评论(0) 推荐(0) 编辑
摘要:001、ldd命令 [root@PC1 src]# ldd /bin/ls linux-vdso.so.1 (0x00007ffea61ad000) libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f57e03d4000) libcap.so.2 阅读全文
posted @ 2024-12-13 15:22 小鲨鱼2018 阅读(194) 评论(0) 推荐(0) 编辑
摘要:001、Linux中ld命令是链接命令,其作用是将链接文件(经过编译和汇编后的机器码文件)和库文件整合为可执行文件或者是库文件。 ld(Link eDitor)命令是二进制工具集GNU Binutils的一员,是GNU链接器,用于将目标文件与库链接为可执行文件或库文件。 002、 (base) [r 阅读全文
posted @ 2024-12-13 12:03 小鲨鱼2018 阅读(45) 评论(0) 推荐(0) 编辑
摘要:001、查看系统 [root@PC1 ~]# cat /etc/redhat-release Rocky Linux release 9.4 (Blue Onyx) 002、查看是否有可用的安装包 [root@PC1 ~]# yum list | grep "openblas" ## 没有可用的op 阅读全文
posted @ 2024-12-13 11:13 小鲨鱼2018 阅读(28) 评论(0) 推荐(0) 编辑
摘要:001、Linux中shell变量的截取 [root@PC1 test]# var1=",xxx,yyy,zzz" [root@PC1 test]# echo $var1 ,xxx,yyy,zzz [root@PC1 test]# var1=${var1:1} ## 变量的截取 [root@PC1 阅读全文
posted @ 2024-12-11 17:55 小鲨鱼2018 阅读(14) 评论(0) 推荐(0) 编辑
摘要:001、rocky9中编译安装R报错: conftest.c:1:10: fatal error: jni.h: No such file or directory 这个错误表明编译器在尝试编译一个C语言源文件时,无法找到头文件jni.h。jni.h是Java Native Interface(JN 阅读全文
posted @ 2024-12-10 16:50 小鲨鱼2018 阅读(80) 评论(0) 推荐(0) 编辑
摘要:001、配置报错如下: checking whether PCRE support suffices... yes checking for curl-config... /root/anaconda3/bin/curl-config ## 用的是conda中的cure checking libcu 阅读全文
posted @ 2024-12-10 16:31 小鲨鱼2018 阅读(62) 评论(0) 推荐(0) 编辑
摘要:000、pcre是什么? perl正则表达式函数库 ‌PCRE(Perl Compatible Regular Expressions)是一个用C语言编写的正则表达式函数库,由菲利普·海泽(Philip Hazel)编写‌。 001、问题 configure: error: PCRE2 librar 阅读全文
posted @ 2024-12-10 15:44 小鲨鱼2018 阅读(83) 评论(0) 推荐(0) 编辑
摘要:001、 >>> eval("10 + 100") ## 对字符串数值进行计算 110 >>> eval("10 - 100") -90 >>> eval("10 * 100") 1000 >>> eval("10 / 100") 0.1 >>> eval(10 / 100) ## 参数需要是字符串 阅读全文
posted @ 2024-12-10 10:40 小鲨鱼2018 阅读(10) 评论(0) 推荐(0) 编辑
摘要:01、基础用法,获取路径中的最后一个字段 [root@PC1 test]# echo $PWD /home/test [root@PC1 test]# basename $PWD ## 基本用法, 获取路径的最后一个字段 test [root@PC1 test]# basename /home/xx 阅读全文
posted @ 2024-12-10 09:15 小鲨鱼2018 阅读(69) 评论(0) 推荐(0) 编辑
摘要:001、dir列出指定目录下的所有文件 [root@localhost test]# ls 1.txt 3.txt 5.txt 8.txt a.txt result.txt [root@localhost test]# dir ## 列出当前目录下的所有文件 1.txt 3.txt 5.txt 8. 阅读全文
posted @ 2024-12-09 23:22 小鲨鱼2018 阅读(47) 评论(0) 推荐(0) 编辑
摘要:001、 [root@localhost test]# ls a.txt [root@localhost test]# cat a.txt ## 测试数据 001 002 003 004 005 006 007 008 009 010 011 012 013 014 015 016 017 018 阅读全文
posted @ 2024-12-09 23:07 小鲨鱼2018 阅读(3) 评论(0) 推荐(0) 编辑
摘要:001、 conda install bioconda::dedup 002、调用测试 (base) [b20223040323@admin2 DeDup-0.12.9]$ dedup --version DeDup v0.12.9 DeDup v0.12.9 。 ref: 01、https://a 阅读全文
posted @ 2024-12-09 21:44 小鲨鱼2018 阅读(14) 评论(0) 推荐(0) 编辑
摘要:001、问题 Exception in thread "Thread-0" java.lang.RuntimeException: Sequence and quality length don't match: 002、 出现这个问题的原因是原始fastq文件损坏,需要重新下载a、通过解压原始gz 阅读全文
posted @ 2024-12-08 18:06 小鲨鱼2018 阅读(19) 评论(0) 推荐(0) 编辑
摘要:001、问题 /usr/bin/ld: cannot find -lopenblas 。 002、解决方法 yum -y install epel-release yum -y install openblas-devel 003、检测效果 make install 。 阅读全文
posted @ 2024-12-07 19:29 小鲨鱼2018 阅读(7) 评论(0) 推荐(0) 编辑
摘要:1、 make clean和make clobber区别。 https://blog.csdn.net/qq_32014215/article/details/106155403; 阅读全文
posted @ 2024-12-07 17:04 小鲨鱼2018 阅读(6) 评论(0) 推荐(0) 编辑
摘要:c语言中作用域和存储期的区别 阅读全文
posted @ 2024-12-07 13:01 小鲨鱼2018 阅读(8) 评论(0) 推荐(0) 编辑
摘要:001、安装boost依赖环境 boost 是一个跨平台的 c++ 库集合,它提供了许多功能和工具,用于在 linux 上开发高性能的应用程序。 yum -y install bzip2 bzip2-devel bzip2-libs python-devel 002、下载最新安装包 https:// 阅读全文
posted @ 2024-12-04 10:31 小鲨鱼2018 阅读(99) 评论(0) 推荐(0) 编辑
摘要:001、编译报错如下: 002、原因gcc版本低 当下版本为: (base) [root@PC1 boost_1_86_0]# gcc --version gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36) Copyright (C) 2015 Free Soft 阅读全文
posted @ 2024-12-04 09:26 小鲨鱼2018 阅读(22) 评论(0) 推荐(0) 编辑
摘要:rocky9中boast的安装。 01、 boost 是一个跨平台的 c++ 库集合,它提供了许多功能和工具,用于在 linux 上开发高性能的应用程序。 02、下载最新版的boost https://www.boost.org/users/download/ 03、安装依赖环境 yum -y in 阅读全文
posted @ 2024-12-04 08:44 小鲨鱼2018 阅读(48) 评论(0) 推荐(0) 编辑
摘要:如何在Linux系统中设置Boost库的环境变量? https://www.kdun.com/ask/1334132.html 阅读全文
posted @ 2024-12-04 00:29 小鲨鱼2018 阅读(5) 评论(0) 推荐(0) 编辑
摘要:‌GSL(GNU Scientific Library)是一个开源的科学计算库,主要用于C和C++程序。它包含了大量高效的数学函数,适用于各种科学计算任务‌‌。 阅读全文
posted @ 2024-12-04 00:15 小鲨鱼2018 阅读(38) 评论(0) 推荐(0) 编辑
摘要:boost 是一个跨平台的 c++ 库集合,它提供了许多功能和工具,用于在 linux 上开发高性能的应用程序。 阅读全文
posted @ 2024-12-04 00:09 小鲨鱼2018 阅读(10) 评论(0) 推荐(0) 编辑
摘要:001、yum报错 (base) [root@PC1 yum.repos.d]# yum install httpd ## yum安装应用报错 。 002、解决方法 (base) [root@PC1 home]# cd /etc/yum.repos.d (base) [root@PC1 yum.re 阅读全文
posted @ 2024-12-03 23:41 小鲨鱼2018 阅读(885) 评论(0) 推荐(0) 编辑
摘要:treemix: error while loading shared libraries: libgsl.so.25: cannot open shared object file: No such file or direct 阅读全文
posted @ 2024-12-02 16:35 小鲨鱼2018 阅读(22) 评论(0) 推荐(0) 编辑
摘要:001、 问题 configure: error: could not find GSL BLAS ## 配置软件报错如下 002、解决方法 wget -c http://ftp.club.cc.cmu.edu/pub/gnu/gsl/gsl-latest.tar.gz tar -xzvf gsl- 阅读全文
posted @ 2024-12-02 16:21 小鲨鱼2018 阅读(38) 评论(0) 推荐(0) 编辑
摘要:序列处理工具Seqkit的安装以及使用 阅读全文
posted @ 2024-12-01 00:56 小鲨鱼2018 阅读(52) 评论(0) 推荐(0) 编辑
摘要:001、 (base) [sy20213040737@admin2 test]$ ls chr.list test.fa (base) [sy20213040737@admin2 test]$ cat test.fa ## 测试fasta文件 >chr1 xxxx aaaabbb cccccddd 阅读全文
posted @ 2024-12-01 00:25 小鲨鱼2018 阅读(6) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示