会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小鲨鱼2018
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
10
11
12
13
14
15
16
17
18
···
407
下一页
2025年6月7日
bcftools 删除ALT字段中包含*号的内容
摘要: 001、过滤掉ALT字段中包含*的变异位点 bcftools view -e 'ALT~"\*"' input.vcf -o filtered.vcf -O v
阅读全文
posted @ 2025-06-07 09:06 小鲨鱼2018
阅读(10)
评论(0)
推荐(0)
2025年6月1日
python 中 字符串格式化参数
摘要: 001、format格式化字符串 a、 >>> "{} {}={}".format("aa", "bb", "cc") ## 默认是位置参数,格式化字符串位于{}中 'aa bb=cc' b、指定位置参数格式话 >>> "{2} {0}={1}".format("aa", "bb", "cc") #
阅读全文
posted @ 2025-06-01 23:52 小鲨鱼2018
阅读(13)
评论(0)
推荐(0)
2025年5月31日
plink 软件中顾虑掉最小等位基因组数目出现次数少于一定个数的位点
摘要: 001、 plink --file outcome --mac 4 --recode tab --out xxx
阅读全文
posted @ 2025-05-31 18:04 小鲨鱼2018
阅读(8)
评论(0)
推荐(0)
plink 格式中提取包含杂合位点的SNP位点
摘要: 001、 (base) [b20223040323@admin2 test5]$ ls ## 测试数据 outcome.map outcome.ped (base) [b20223040323@admin2 test5]$ cat outcome.ped DOR 1 0 0 0 -9 G G C C
阅读全文
posted @ 2025-05-31 17:31 小鲨鱼2018
阅读(27)
评论(0)
推荐(0)
bcftools软件实现对vcf格式文件进行个体ID的重命名
摘要: 001、bcftools软件实现对vcf格式文件进行个体ID的重命名(vcf 文件可以是压缩格式) bcftools reheader -s rename.txt -o NC_082741_y_male_step4.vcf NC_082741_y_male_step3.vcf rename.txt格
阅读全文
posted @ 2025-05-31 16:31 小鲨鱼2018
阅读(86)
评论(0)
推荐(0)
2025年5月30日
使用PAUP软件基于最大简约发构建系统进化树
摘要: 使用PAUP软件基于最大简约发构建系统进化树 001、将vcf格式转换为fasta格式: (base) [b20223040323@admin2 test5]$ ls outcome.vcf (base) [b20223040323@admin2 test5]$ vcf2phylip.py --in
阅读全文
posted @ 2025-05-30 23:15 小鲨鱼2018
阅读(47)
评论(0)
推荐(0)
几种依据个体ID从vcf文件中提取数据 速度对比
摘要: 01、三个程序 001、vcftools vcftools --gzvcf snp.filtered.vcf.gz --keep id.list --recode --out vcftools_result 002、plink plink --vcf snp.filtered.vcf.gz --al
阅读全文
posted @ 2025-05-30 16:34 小鲨鱼2018
阅读(25)
评论(0)
推荐(0)
seqmagick 命令将fasta格式转换为 nex格式
摘要: 001、 seqmagick convert outcome.min4.fasta output.nex --alphabet dna
阅读全文
posted @ 2025-05-30 16:22 小鲨鱼2018
阅读(45)
评论(0)
推荐(0)
setup.py 软件包安装方式
摘要: 001、 002、 a、进入安装目录 b、pip install .
阅读全文
posted @ 2025-05-30 16:03 小鲨鱼2018
阅读(10)
评论(0)
推荐(0)
生信工具vcf格式转换为fasta格式
摘要: 001、方法1 vcf2phylip.py --input outcome.vcf --fasta (base) [b20223040323@admin2 test5]$ ls outcome.min4.fasta outcome.min4.phy outcome.vcf 002、方法2
阅读全文
posted @ 2025-05-30 15:54 小鲨鱼2018
阅读(115)
评论(0)
推荐(0)
上一页
1
···
10
11
12
13
14
15
16
17
18
···
407
下一页
公告