Closed slebedeva closed 7 years ago
i have got the same problem. does anyone have solved it ? thanX!
I had to edit the original perl script (IRFinder-BuildRefFromEnsembl) because it only expects one .gtf file.
line 112:
replace
system('wget',$base.'/gtf/'.$species.'/*.gtf.gz');
with
system('wget',$base.'/gtf/'.$species.'/*'.$release.'.gtf.gz');
Or any other regex which makes your gtf file unique.
$release
isn't specified elsewhere in the file so system('wget',$base.'/gtf/'.$species.'/*[0-9].gtf.gz');
worked for me.
Doesn't make any assumptions for the specific release number.
Hi all,
Sorry for a late reply, we just released a new version of IRFinder 1.2.0. It has several major fixation and upgrades including solving this infamous automatic downloading problem.
Best, Dadi
BTW, I recommend to change line 112 to system('wget',$hint);
instead of using the regex, in case Ensembl was to add other similar file names in the future. This will look for and download the exact file name suggested by corresponding IRFinder argument. It is also the solution in version 1.2.0.
Hi! I have an issue building reference with the newest Ensembl release. The IRFinder-BuildRefFromEnsembl fails to download the Ensembl gtf file. (Genome fasta file is ok).
Command:
Output:
After it fails, I still have the temporary directory inside REF/Human-hg38-release87 with four .gtf.gz files from Ensembl-87 release.