Commit 2af3aba0 authored by Sebastien Moretti's avatar Sebastien Moretti
Browse files

Fix for exonerate 2.2.0 that looks to have problems with target filename containing :

parent be1675be
......@@ -1027,7 +1027,7 @@ sub download_seq{
$checkSeq = `grep -v '>' "$cache/$acc[$a]-$from-$to.fas"` if ( $amont =~ /^\d+$/ && $aval =~ /^\d+$/ );
$checkSeq = `grep -v '>' "$cache/$acc[$a].fas"` if ( $amont !~ /^\d+$/ || $aval !~ /^\d+$/ );
if ( $checkSeq !~ /^[A-Za-z]/ && $cp==0 ){
# if ( -s "$cache/$acc[$a]:$from-$to.fas" <120 && $cp==0){ #Instead of multiple downloads, only seq name and header
# if ( -s "$cache/$acc[$a]-$from-$to.fas" <120 && $cp==0){ #Instead of multiple downloads, only seq name and header
unlink("$cache/$acc[$a]-$from-$to.fas") if ( $amont =~ /^\d+$/ && $aval =~ /^\d+$/ );
unlink("$cache/$acc[$a].fas") if ( $amont !~ /^\d+$/ || $aval !~ /^\d+$/ );
# $amont = '';
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment