上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 407 下一页
摘要: 001、过滤掉ALT字段中包含*的变异位点 bcftools view -e 'ALT~"\*"' input.vcf -o filtered.vcf -O v 阅读全文
posted @ 2025-06-07 09:06 小鲨鱼2018 阅读(10) 评论(0) 推荐(0)
摘要: 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)
摘要: 001、 plink --file outcome --mac 4 --recode tab --out xxx 阅读全文
posted @ 2025-05-31 18:04 小鲨鱼2018 阅读(8) 评论(0) 推荐(0)
摘要: 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)
摘要: 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)
摘要: 使用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)
摘要: 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)
摘要: 001、 seqmagick convert outcome.min4.fasta output.nex --alphabet dna 阅读全文
posted @ 2025-05-30 16:22 小鲨鱼2018 阅读(45) 评论(0) 推荐(0)
摘要: 001、 002、 a、进入安装目录 b、pip install . 阅读全文
posted @ 2025-05-30 16:03 小鲨鱼2018 阅读(10) 评论(0) 推荐(0)
摘要: 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 下一页