tlex-open-v2.2.2.pl illegal division by zero in line 2674 and readline() on...
Transposable Element annotation using Next-Generation Sequencing data
Status: Beta
Brought to you by:
afiston
First,i am very interesting for the tlex2 and i am using it to investigate transposable elements in Bombyx mori genome.But ,when i run for the "absent detecting module",it always reminds me "illegal division by zero in line 2674" and "readline() on closed filehandle IN at ./tlex-open-v2.2.2.pl line 2513/2533".I don't know why?I attempt to modify the tlex-open-v2.2.2.pl in line 2674 and 2513/2533.LINE 2513/2533: open (IN, "merger.fa_${TEid}") or die ("Can't open 'merger.fa_${TEid}': $!");LINE 2672-2674:$mlength = scalar(@a4);
if ($mlength ==0){
if ($sum ==0){
$idL = 0;
}
else{
$idL = 100;
}
}
else{
$idL = ($sum/($mlength+$sum))*100;
}
$termatchL = $sum;
I don't know whether it is right for modifying the tlex-open-v2.2.2.pl . And, i will run the programme for Bombyx mori genome again.I am very eager for your help ,dear Prof.Anna-Sophie Fiston-Lavier .