[Bio] / FigKernelScripts / correct_gff_missing_contigs.pl Repository:
ViewVC logotype

Diff of /FigKernelScripts/correct_gff_missing_contigs.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3, Wed Apr 11 17:47:15 2007 UTC revision 1.4, Tue Jul 17 20:26:59 2007 UTC
# Line 72  Line 72 
72    
73  # now check that we have less contigs in the current contigs than in the fasta file. If there is more there is an error since they should have been found above. If there is the same number there is no point copying the data across.  # now check that we have less contigs in the current contigs than in the fasta file. If there is more there is an error since they should have been found above. If there is the same number there is no point copying the data across.
74    
75  if ($ncontigs > $nfasta) {die "There are more contigs in the contigs file than in the fasta file, but we didn't find them missing. Huh?"}  if ($ncontigs > $nfasta)
76  elsif ($ncontigs == $nfasta) {die "There are the same number of contigs in the genome contigs file and in the fasta file, so there is no point copying\n"}  {
77        die "There are more contigs in the contigs file than in the fasta file, but we didn't find them missing. Huh?";
78    }
79    elsif ($ncontigs == $nfasta)
80    {
81        warn "There are the same number of contigs in the genome contigs file and in the fasta file, so there is no point copying\n";
82        exit 0;
83    }
84    
85  # if we get here we want to copy the data  # if we get here we want to copy the data
86    

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3