瀏覽代碼

ped file

master
LUYAO REN 5 年之前
父節點
當前提交
8d5a2dd731
共有 1 個檔案被更改,包括 6 行新增7 行删除
  1. +6
    -7
      tasks/mendelian.wdl

+ 6
- 7
tasks/mendelian.wdl 查看文件

export LD_LIBRARY_PATH=/opt/htslib-1.9 export LD_LIBRARY_PATH=/opt/htslib-1.9
nt=$(nproc) nt=$(nproc)


echo "${chromo} LCL8_consensus_call 0 0 2 -9
${chromo} LCL7_consensus_call 0 0 1 -9
${chromo} LCL5_consensus_call LCL7_consensus_call LCL8_consensus_call 2 -9" > ${chromo}.D5.ped
echo -e "${chromo}\tLCL8_consensus_call\t0\t0\t2\t-9\n${chromo}\tLCL7_consensus_call\t0\t0\t1\t-9\n${chromo}\tLCL5_consensus_call\tLCL7_consensus_call\tLCL8_consensus_call\t2\t-9" > ${chromo}.D5.ped


mkdir VBT_D5 mkdir VBT_D5
/opt/VBT-TrioAnalysis/vbt mendelian -ref ${ref_dir}/${fasta} -mother ${consensus_vcf} -father ${consensus_vcf} -child ${consensus_vcf} -pedigree ${chromo}.D5.ped -outDir VBT_D5 -out-prefix ${chromo}.D5 --output-violation-regions -thread-count $nt /opt/VBT-TrioAnalysis/vbt mendelian -ref ${ref_dir}/${fasta} -mother ${consensus_vcf} -father ${consensus_vcf} -child ${consensus_vcf} -pedigree ${chromo}.D5.ped -outDir VBT_D5 -out-prefix ${chromo}.D5 --output-violation-regions -thread-count $nt


cat VBT_D5/${chromo}.D5_trio.vcf > ${chromo}.D5.vcf cat VBT_D5/${chromo}.D5_trio.vcf > ${chromo}.D5.vcf


echo "${chromo} LCL8_consensus_call 0 0 2 -9
${chromo} LCL7_consensus_call 0 0 1 -9
${chromo} LCL6_consensus_call LCL7_consensus_call LCL8_consensus_call 2 -9" > ${chromo}.D6.ped
echo -e "${chromo}\tLCL8_consensus_call\t0\t0\t2\t-9\n${chromo}\tLCL7_consensus_call\t0\t0\t1\t-9\n${chromo}\tLCL6_consensus_call\tLCL7_consensus_call\tLCL8_consensus_call\t2\t-9" > ${chromo}.D6.ped


mkdir VBT_D6 mkdir VBT_D6
/opt/VBT-TrioAnalysis/vbt mendelian -ref ${ref_dir}/${fasta} -mother ${consensus_vcf} -father ${consensus_vcf} -child ${consensus_vcf} -pedigree ${chromo}.D6.ped -outDir VBT_D6 -out-prefix ${chromo}.D6 --output-violation-regions -thread-count $nt /opt/VBT-TrioAnalysis/vbt mendelian -ref ${ref_dir}/${fasta} -mother ${consensus_vcf} -father ${consensus_vcf} -child ${consensus_vcf} -pedigree ${chromo}.D6.ped -outDir VBT_D6 -out-prefix ${chromo}.D6 --output-violation-regions -thread-count $nt
File D6_trio_vcf = "${chromo}.D6.vcf" File D6_trio_vcf = "${chromo}.D6.vcf"
File family_vcf = "${chromo}.vcf" File family_vcf = "${chromo}.vcf"
} }
}
}




Loading…
取消
儲存