@@ -578,11 +581,11 @@ PROTOGENE re-builds the original alignment with nucleotidic information it has g
...
@@ -578,11 +581,11 @@ PROTOGENE re-builds the original alignment with nucleotidic information it has g
=item Vital-IT computing center
=item Vital-IT computing center
=item Swiss Institute of Bioinformatics
=item SIB Swiss Institute of Bioinformatics
=item Lausanne, Switzerland
=item Lausanne, Switzerland
=item http://www.vital-it.ch/
=item https://www.vital-it.ch/
=back
=back
...
@@ -891,7 +894,7 @@ sub blastPAcc2PGI{
...
@@ -891,7 +894,7 @@ sub blastPAcc2PGI{
my $protGI = '';
my $protGI = '';
#FIXME: should be ${blastHit}[pacc] but something is broken at NCBI
#FIXME: should be ${blastHit}[pacc] but something is broken at NCBI
my $content = fetch("https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=protein&term=$blastHit&retmode=xml&tool=ProtoGene&email=smoretti\@unil.ch");
my $content = fetch("https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=protein&term=$blastHit&retmode=xml&tool=$eutilsTool&email=$eutilsEmail&api_key=$eutilsAPIKey");
if ( $content =~ /<Id>(\d+)<\/Id>/ ){
if ( $content =~ /<Id>(\d+)<\/Id>/ ){
$protGI = $1;
$protGI = $1;
}
}
...
@@ -905,7 +908,7 @@ sub protGI2NTGIs{
...
@@ -905,7 +908,7 @@ sub protGI2NTGIs{
my $ntGIs = '';
my $ntGIs = '';
my $geneID = '';
my $geneID = '';
my $content = fetch("https://eutils.ncbi.nlm.nih.gov/entrez/eutils/elink.fcgi?dbfrom=protein&db=nuccore,gene&id=$protGI&retmode=xml&tool=ProtoGene&email=smoretti\@unil.ch");
my $content = fetch("https://eutils.ncbi.nlm.nih.gov/entrez/eutils/elink.fcgi?dbfrom=protein&db=nuccore,gene&id=$protGI&retmode=xml&tool=$eutilsTool&email=$eutilsEmail&api_key=$eutilsAPIKey");
my @xml = split("\n", $content);
my @xml = split("\n", $content);
my $flag = 0;
my $flag = 0;
...
@@ -942,8 +945,8 @@ sub geneID2Chr{
...
@@ -942,8 +945,8 @@ sub geneID2Chr{
my $chr = '';
my $chr = '';
my ($amont, $aval) = ('', '');
my ($amont, $aval) = ('', '');
# my $content = fetch("https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=gene&id=$geneID&retmode=xml&tool=ProtoGene&email=smoretti\@unil.ch");
# my $content = fetch("https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=gene&id=$geneID&retmode=xml&tool=$eutilsTool&email=$eutilsEmail&api_key=$eutilsAPIKey");
my $content = fetch("https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esummary.fcgi?db=gene&id=$geneID&retmode=xml&tool=ProtoGene&email=smoretti\@unil.ch");
my $content = fetch("https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esummary.fcgi?db=gene&id=$geneID&retmode=xml&tool=$eutilsTool&email=$eutilsEmail&api_key=$eutilsAPIKey");
my $content = fetch("https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=nucleotide&term=${pacc2puid}[pacc]&tool=ProtoGene&email=smoretti\@unil.ch");
my $content = fetch("https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=nucleotide&term=${pacc2puid}[pacc]&tool=$eutilsTool&email=$eutilsEmail&api_key=$eutilsAPIKey");