-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Index should accept CSV/JSON #26
Comments
Hi Everyone, I just want to make sure you guys are comfortable with me moving this repo I'll wait one more hour, since Ive seen a lot of recent commits. Cheers! BEn On Thu, Aug 27, 2015 at 12:38 PM, Mike Panciera [email protected]
What have you done today to make the world a better place? |
Ben, What's the downside of the move? Just that we have to check out from another repository? Best, From: DCGenomics [mailto:[email protected]] Hi Everyone, I just want to make sure you guys are comfortable with me moving this repo I'll wait one more hour, since Ive seen a lot of recent commits. Cheers! BEn On Thu, Aug 27, 2015 at 12:38 PM, Mike Panciera [email protected]
What have you done today to make the world a better place? — |
I'd like to use my github account on Travis-CI for this project. We don't have that now; I'm not sure what permissions I will need in order for that to happen within an organization, but it works for the organizations I'm a part of (I'm admin in that organization though.) |
Exactly. The upside is that we have some expanded admin capabilities. Cheers! Ben
|
Sounds good to me, that is have an update and a create command. Best, From: Mike Panciera [mailto:[email protected]] I was thinking we could add a create (distinct from index) command to load JSON/CSV/FASTA files to initialize an existing database. But I think this could be included in the index command. If the database does not exist, this creates a new database, otherwise adding stuff to an existing database (which seems to work out of the box). There is no reason either index couldn't accept any of these file types (differentiate by relying on the extension), and this is useful because of #23#23, and the fact that it is hard to store metadata in FASTA format. Another factor is that the swissprot data already has a computed index field, while other json/fasta files will not. Maybe we should just check for the index field and compute the index only if it is not there. In that case the index field would be a sort of reserved field that users shouldn't use. — |
Ive moved it over. Let me know if it has the functionality you guys want. Cheers! Ben On Thu, Aug 27, 2015 at 5:33 PM, lewisg-ncbi [email protected]
What have you done today to make the world a better place? |
The Travis CI permissions required http://docs.travis-ci.com/user/github-oauth-scopes/ are tame, so I think everyone who's a current collaborator should be able to start using TravisCI. Admittedly, I've never used it. That being said, I just made @lianyi , @lewisg-ncbi , & @averagehat 'admin' for the NCBI-Hackathon/seqr repo, so any of you have extra privileges. You can even add new collaborators! |
@nyetsche I think I need to be a member of the organization hosting the repository in order to add it in travis. |
I already added it in travis On Fri, Aug 28, 2015 at 12:44 PM, Mike Panciera [email protected]
What have you done today to make the world a better place? |
My mistake, apparently travis-ci urls are case sensitive. The builds are live here: |
👍 |
@lianyi When inserting documents, is it necessary to use the |
The most recent update won't require FindIndex for indexing. When the sequence provided in the "sequence" field, i.e: {sequence:"AAAAAAA",id:6,...}. It will be automatically tokenized as we used to do in FindIndex. |
also probably we can add an option to allow the user to wipe clean all of the indexes before indexing new FASTA/JSONs. i.e -clean without this -clean option, it's basically an incremental update mode. |
I was thinking we could add a
create
(distinct fromindex
) command to load JSON/CSV/FASTA files to initialize an existing database. But I think this could be included in theindex
command.If the database does not exist, this creates a new database, otherwise adding stuff to an existing database (which seems to work out of the box). There is no reason either
index
couldn't accept any of these file types (differentiate by relying on the extension), and this is useful because of #23, and the fact that it is hard to store metadata in FASTA format.Another factor is that the
swissprot
data already has a computed index field, while other json/fasta files will not. Maybe we should just check for the "index" field and compute the index only if it is not there. In that case the "index" field would be a sort of reserved field that users shouldn't use.The text was updated successfully, but these errors were encountered: