随笔分类 -  生信

上一页 1 2 3 4 5 6 7 ··· 31 下一页
摘要:001、 centos7 中安装 trimal conda install trimal=1.4.1-0 -c bioconda 。 阅读全文
posted @ 2025-06-20 17:18 小鲨鱼2018 阅读(32) 评论(0) 推荐(0)
摘要:001、提取文件准备: 第一列为染色体名称,第二列为物理位置: 002、提取命令 vcftools --vcf renamed2.vcf --positions contig_pos_ref.txt --recode --out extracted 阅读全文
posted @ 2025-06-07 11:22 小鲨鱼2018 阅读(93) 评论(0) 推荐(0)
摘要:001、 bcftools实现 bcftools annotate --set-id +'%CHROM\_%POS' -o renamed.vcf -O v input.vcf 002、 使用awk命令安装 snp数字递增的形式重命名 #!/usr/bin/env bash awk 'BEGIN{O 阅读全文
posted @ 2025-06-07 10:49 小鲨鱼2018 阅读(106) 评论(0) 推荐(0)
摘要:001、 a、准备重命名文件 第一列原始染色体名称,第二列计划修改的染色体名称: b、 bcftools annotate --rename-chrs chr_rename.txt -o renamed.vcf -O v input.vcf . 阅读全文
posted @ 2025-06-07 10:05 小鲨鱼2018 阅读(110) 评论(0) 推荐(0)
摘要:001、过滤掉ALT字段中包含*的变异位点 bcftools view -e 'ALT~"\*"' input.vcf -o filtered.vcf -O v 阅读全文
posted @ 2025-06-07 09:06 小鲨鱼2018 阅读(12) 评论(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 阅读(88) 评论(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 阅读(50) 评论(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 阅读(28) 评论(0) 推荐(0)
摘要:001、 seqmagick convert outcome.min4.fasta output.nex --alphabet dna 阅读全文
posted @ 2025-05-30 16:22 小鲨鱼2018 阅读(47) 评论(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 阅读(130) 评论(0) 推荐(0)
摘要:001、conda报错如下: error libmamba response code: -1 error message: Permission deniedcritical libmamba failed to execute pre/post link script for spades 00 阅读全文
posted @ 2025-05-13 21:13 小鲨鱼2018 阅读(60) 评论(0) 推荐(0)
摘要:001、bedtools samtools sort -n -o xxx.qsort.bam xxx.bam ## 首选对bam文件进行排序 bedtools bamtofastq -i xxx.qsort.bam -fq xxx.end1.fq -fq2 xxx.end2.fq ## 将bam文件 阅读全文
posted @ 2025-05-12 11:43 小鲨鱼2018 阅读(185) 评论(0) 推荐(0)
摘要:001、 samtools coverage -r NC_001941.1 sample_name_NC_001941.1.bam 阅读全文
posted @ 2025-05-08 17:29 小鲨鱼2018 阅读(144) 评论(0) 推荐(0)
摘要:001、输入数据格式 转换为tplink格式: plink --file outcome --recode transpose --double-id --out input 002、 (base) [b20223040323@admin2 test]$ ls input.tfam input.tp 阅读全文
posted @ 2025-05-07 10:43 小鲨鱼2018 阅读(14) 评论(0) 推荐(0)
摘要:001、 plink --file outcome --recode transpose --double-id --out input 阅读全文
posted @ 2025-05-03 18:14 小鲨鱼2018 阅读(35) 评论(0) 推荐(0)
摘要:001、bwa + samtools软件比对在4、16、30线程机时费用测试对比 依次修改线程数为4、16、30: bwa mem -t 4 -M -R "@RG\tID:sample_name\tPL:illumina\tSM:sample_name" /PATH/GCF_016772045.2_ 阅读全文
posted @ 2025-05-01 16:00 小鲨鱼2018 阅读(30) 评论(0) 推荐(0)
摘要:分别是用1、2、4、8、16、30线程数目进行测试 001、测试程序 java -jar /public/home/b20223040323/software/trimmomatic/trimmomatic-0.39.jar PE -threads 4 127M_1.fq.gz 127M_2.fq. 阅读全文
posted @ 2025-05-01 10:02 小鲨鱼2018 阅读(45) 评论(0) 推荐(1)

上一页 1 2 3 4 5 6 7 ··· 31 下一页