Yes,
admin.pl loads all files within a directory.
I just tried it out, and it seemed to work ok. When it gets to
db.info,
it says:
> Loading File: /Users/ceramie/Desktop/temp/
db.info
Cannot determine file type. Skipping...
Which is what it should do, then it ends with something ike....
Import Summary:
-----------------------------------------------------
# of Pathways saved to database: 0
-> # of Existing Pathways found in db: 1
# of Interactions saved to database: 0
-> # of Existing Interactions found in db: 74
# of Physical Entities saved to database: 0
-> # of Existing Physical Entities found in db: 54
-----------------------------------------------------
File Import Complete
That said, if any of the files in your directory are invalid,
admin.pl
will not import any of them. Perhaps that is what's happening?
Try running with the -d flag, to see if you might be getting any extra
warning / stack track messages.
Ethan
--
Ethan Cerami
Computational Biology Center
Memorial Sloan-Kettering Cancer Center
http://cbio.mskcc.org