etetoolkit version used: 3.1.3, but is also seen from the code of the problematic script of ete4 at the time of writing
extractfile() method cannot recognize an existing file inside a tar file when the inside file has leading ./ in the name. Found out when used NCBITaxa(dbfile=ete_db_fpath, taxdump_file=ncbi_taxdump_fpath).
Not working for:
$ tar --create --gzip --file "resources/ncbi_taxdump/taxdump.tar.gz" --directory "resources/ncbi_taxdump/new_taxdump_233" .
$ tar -tf resources/ncbi_taxdump/taxdump.tar.gz
./
./taxidlineage.dmp
./nodes.dmp
./host.dmp
./readme.txt
./delnodes.dmp
./division.dmp
./typeoftype.dmp
./merged.dmp
./images.dmp
./typematerial.dmp
./gencode.dmp
./gc.prt
./fullnamelineage.dmp
./rankedlineage.dmp
./citations.dmp
./excludedfromtype.dmp
./names.dmp
Working for:
$ tar --create --gzip --file "resources/ncbi_taxdump/taxdump.tar.gz" --directory "resources/ncbi_taxdump/new_taxdump_233" --transform 's|^\./||' .
$ tar -tf resources/ncbi_taxdump/taxdump.tar.gz
./
taxidlineage.dmp
nodes.dmp
host.dmp
readme.txt
delnodes.dmp
division.dmp
typeoftype.dmp
merged.dmp
images.dmp
typematerial.dmp
gencode.dmp
gc.prt
fullnamelineage.dmp
rankedlineage.dmp
citations.dmp
excludedfromtype.dmp
names.dmp
etetoolkit version used: 3.1.3, but is also seen from the code of the problematic script of ete4 at the time of writing
extractfile() method cannot recognize an existing file inside a tar file when the inside file has leading
./in the name. Found out when usedNCBITaxa(dbfile=ete_db_fpath, taxdump_file=ncbi_taxdump_fpath).Not working for:
Working for: