Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Unable to load entire directory using "admin.pl -f directory import" command
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ruth  
View profile  
 More options Jul 2 2009, 1:07 pm
From: Ruth <ruth.isser...@utoronto.ca>
Date: Thu, 2 Jul 2009 10:07:23 -0700 (PDT)
Local: Thurs, Jul 2 2009 1:07 pm
Subject: Unable to load entire directory using "admin.pl -f directory import" command
Hi ,
I am trying to import an entire directory of biopax files to my
instance of cpath using the command "./admin.pl -f directoryName
import" and the program tests the validity of all the files in the
directory but doesn't actually import any of them The last file it
looks at is the db.info to which it says it is not valid RDF but it
ends normally (there are no exceptions listed) with Time of execution
but nothing ends up in the db.
I have written a shell script to interate through all the files and
call the admin.pl for each file separately and that works fine,
everything gets imported into the db.  Is the admin.pl supposed to
work with a directory?
Thanks,
Ruth

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ethan Cerami  
View profile  
 More options Jul 2 2009, 3:25 pm
From: Ethan Cerami <cer...@cbio.mskcc.org>
Date: Thu, 02 Jul 2009 15:25:03 -0400
Local: Thurs, Jul 2 2009 3:25 pm
Subject: Re: Unable to load entire directory using "admin.pl -f directory import" command
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

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ruth  
View profile  
 More options Jul 3 2009, 8:16 am
From: Ruth <ruth.isser...@utoronto.ca>
Date: Fri, 3 Jul 2009 05:16:02 -0700 (PDT)
Local: Fri, Jul 3 2009 8:16 am
Subject: Re: Unable to load entire directory using "admin.pl -f directory import" command
Hi Ethan,
Thanks.  They weren't loading because one or two of the files were
invalid.  Is there any way to tell admin.pl to skip invalid files?
Thanks,
Ruth

On Jul 2, 3:25 pm, Ethan Cerami <cer...@cbio.mskcc.org> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ethan Cerami  
View profile  
 More options Jul 3 2009, 8:29 am
From: Ethan Cerami <cer...@cbio.mskcc.org>
Date: Fri, 03 Jul 2009 08:29:54 -0400
Local: Fri, Jul 3 2009 8:29 am
Subject: Re: Unable to load entire directory using "admin.pl -f directory import" command

No, there's no way to skip invalid files within a directory.  It's
actually intentionally meant to be "all or nothing" to cut down on
inadvertently missing invalid files during large imports.

Ethan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »