制作:张敖 https://datahold.cn
张学才,CIMMYT,指导
孙恺悦,沈阳农业大学,测试
【20220401 18:12:34】
【20220331 09:41:31】
基本功能实现。
QTL IciMapping是中国农业科学院开发的优秀基因定位软件,本程序通过处理HMP文件,快速获得能够导入QTL IciMapping的.snp文件;通过处理HMP和表型文件,快速获得.bip文件。HMP文件需要现在TASSEL软件中进行筛选,去掉+/-和0号染色体。
准备好输入文件,然后在R Studio中运行下列代码。第一个弹出的对话框选择工作目录,第二个选择HMP格式的基因型文件,第三个弹出窗口选择表型文件(META-R输出文件),表型文件选择时点取消则不生成.bip文件。
海外:
x
rm(list=ls()) # Clear the Environment Variables 清空环境变量first_change <- FALSE # The first cycle to change letters. 两步变换的第一步,默认不开启,数据量大时非常耗时。无特殊需求无需打开Eliminate_heterozygous_bases <- TRUE # the default is TRUE, the RIL and DH population type have to use TRUE. RIL群体和DH群体必须选择TRUEf_name <- "my_icimapping_data" # Customaize the name of output file. 自定义输出文件名称。pheno_colname <- "BLUE_FV_" # The name of trait in phenotypic file. 表型文件中性状的名称。source("https://aozhangchina.github.io/R/getICIMappingFiles/getIciMappingFiles.R") # 加载程序文件,需要联网国内:
x
rm(list=ls()) # Clear the Environment Variables 清空环境变量 first_change <- FALSE # The first cycle to change letters. 两步变换的第一步,默认不开启,数据量大时非常耗时。无特殊需求无需打开Eliminate_heterozygous_bases <- TRUE # the default is TRUE, the RIL and DH population type have to use TRUE. RIL群体和DH群体必须选择TRUEf_name <- "my_icimapping_data" # Customaize the name of output file. 自定义输出文件名称。pheno_colname <- "BLUE_FV_" # The name of trait in phenotypic file.source("https://dataholdcn.cn/R/getICIMappingFiles/getIciMappingFiles.R") # 加载程序文件,需要联网