From 00e635b6e0fb63066643fcf01b348688f6d4a558 Mon Sep 17 00:00:00 2001 From: Kaichi Huang Date: Fri, 29 Nov 2019 21:28:52 -0800 Subject: [PATCH] Correct gvcf2fasta_nogaps.pl Depth info should be the third field --- perl_tools/gvcf2fasta_nogaps.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl_tools/gvcf2fasta_nogaps.pl b/perl_tools/gvcf2fasta_nogaps.pl index 01d3a61..47a8c52 100644 --- a/perl_tools/gvcf2fasta_nogaps.pl +++ b/perl_tools/gvcf2fasta_nogaps.pl @@ -33,7 +33,7 @@ } my $info = $a[9]; my @infos = split(/:/,$info); - my $depth = $infos[3]; + my $depth = $infos[2]; my $call = $infos[0]; my @calls; if ($call =~ /\//){