a3fad27190Cython API: automatic importing of column classes now works
Celine Mercier
2017-04-06 15:45:02 +02:00
f351540b0bMerge branch 'Eric_new_Python_API' of git@git.metabarcoding.org:obitools/obitools3.git into Eric_new_Python_API
Celine Mercier
2017-04-06 15:39:52 +02:00
6dccaa0213Patch the registering function : register_all_column_classesEric Coissac2017-04-06 15:37:51 +02:00
5de9e0de51Cython API: now using const char* instead of char* for the type of values read from OBI_STR columns
Celine Mercier
2017-04-06 15:15:20 +02:00
ad8de80353Views: better checks when adding an existing column to a view
Celine Mercier
2017-04-06 14:44:07 +02:00
8cd3e3604fCython Column API
Celine Mercier
2017-04-06 14:42:11 +02:00
255f3c92aeCython View API
Celine Mercier
2017-04-06 14:41:58 +02:00
08be4e231dCython Object API
Celine Mercier
2017-04-06 14:41:43 +02:00
b5b7995411new Cython DMS API
Celine Mercier
2017-04-06 14:41:26 +02:00
381194194cCython API: compiling but not working
Celine Mercier
2017-03-06 16:07:02 +01:00
778acc48cdAdded linked lists to handle lists of column pointers in views (not tested)
Celine Mercier
2017-03-06 16:06:17 +01:00
3319ede837Views: Column dictionaries now store and return pointers on column pointers instead of column pointers.
Celine Mercier
2017-02-22 13:49:50 +01:00
e524041013Views: Files for unfinished views now have the extension '.obiview_unfinished', renamed to '.obiview' when the view is finished.
Celine Mercier
2017-02-07 17:16:09 +01:00
7e9932f488Fixed a C function declaration
Celine Mercier
2017-02-07 17:12:56 +01:00
e50da64ea1The elements names when a column contains several elements per line are now formatted with '\0' as separator and handled in a more optimized way
Celine Mercier
2017-01-31 16:48:06 +01:00
651c1d7845utilities: bsearch and qsort with additional user_data pointer argument
Celine Mercier
2017-01-31 16:45:47 +01:00
c0bcdce724Taxonomy: documentation for all the functions, and fixed bugs when closing the taxonomy (overwriting of .pdx files, missing freeing, and re-placed a misplaced condition)
Celine Mercier
2017-01-18 18:22:49 +01:00
c065c1914aTaxonomy: adding, writing and reading preferred names, changed some function names, and fixed a bug with taxa indices not being properly initialized
Celine Mercier
2017-01-16 17:28:20 +01:00
0385a92e02Taxonomy: Refactored the taxdump reading, and little fixes
Celine Mercier
2017-01-11 16:36:08 +01:00
cf7f2de016Modify __init__ and close method to deal with registration processEric Coissac2017-01-10 14:26:16 +01:00
5122ad52a7Merge branch 'Eric_new_Python_API' of git@git.metabarcoding.org:obitools/obitools3.git into Eric_new_Python_APIEric Coissac2017-01-10 14:07:50 +01:00
41ad3deec0Taxonomy: informations about deleted taxids is now read from delnodes.dmp file and added to *.adx file
Celine Mercier
2017-01-09 17:28:49 +01:00
d68374018bTaxonomy: functions to read the *.adx file (containing the deprecated and current taxids and their corresponding indices in the taxa structure) and to find the taxa using the merged index.
Celine Mercier
2017-01-06 15:52:21 +01:00
f396625f98Taxonomy: function to write *.adx files
Celine Mercier
2017-01-05 15:37:13 +01:00
8e92bf6dacLCS alignment: it is now checked that sequences are not longer than what a 16 bits integer can code for (as the LCS and alignment lengths are kept in 16 bits registers)
Celine Mercier
2016-12-22 17:06:23 +01:00
30e4359c85LCS alignment: documentation for all the lowest level functions
Celine Mercier
2016-12-22 17:03:51 +01:00
5c50e5b378Embryo of code for openMP parallelization of LCS alignment but deactivated for now because can't make it compile with cython/clang
Celine Mercier
2016-12-20 11:46:58 +01:00
f43dc3e3abseparate the obicolumn classes in new filesEric Coissac2016-12-20 08:14:24 +01:00
9c71b06117Removed deprecated TODOs
Celine Mercier
2016-12-19 14:36:40 +01:00
3bf5260174Merge branch 'master' of git@git.metabarcoding.org:obitools/obitools3.git
Celine Mercier
2016-12-19 10:31:18 +01:00
857a5198e4Updated `obi lcs` for the LCS alignment of two columns
Celine Mercier
2016-12-16 19:40:36 +01:00
d99447c12bC function for LCS alignment of two columns, and optimized and fixed line count bug in function to align one column
Celine Mercier
2016-12-16 19:39:02 +01:00
303bd6f445Added function to build kmer table for 2 columns, and fixed bug (with line count) when building kmer table of one column
Celine Mercier
2016-12-16 19:10:18 +01:00
490f5fe6b9Updated deprecated code in cython API for columns (using line count of view instead of column)
Celine Mercier
2016-12-16 19:04:21 +01:00
9b24818fe2Refactored alignment code for minimum redundancy between the function that aligns 1 column and the function that aligns 2 columns
Celine Mercier
2016-12-13 17:18:12 +01:00
06cb7a9a58Some change in the way to manage access to special items of the dictionary like sequence or qualityEric Coissac2016-12-13 12:49:34 +01:00
4ef5cb0d87Move the OBIView_NUC_SEQS class to files _obiview_nuc_seq.pxd and _obiview_nuc_seq.pyx to avoid circular inclusionEric Coissac2016-12-13 12:46:49 +01:00
8d7ef7d3d1patch the distutils to add the C source directory in the include path. This should solve most of the compilation problems related to .h files located in this directoryEric Coissac2016-12-13 08:02:09 +01:00
8afb1644e9Alignment: API rework. 'obi align' is now 'obi lcs', and the results are now written to columns automatically created in the output view, all optimally handled at the C level.
Celine Mercier
2016-12-12 11:58:59 +01:00
fa4e4ffaffChanged the cython API to create new views so as to have different functions for the different cases
Celine Mercier
2016-12-07 14:17:57 +01:00
936be64c34Goes with 5e0c9f87 (missing ';' and fixed compilation warnings)
Celine Mercier
2016-12-05 11:18:29 +01:00
5e0c9f878bAdded the doc for the function building the element names, and a missing free
Celine Mercier
2016-12-05 10:46:21 +01:00
852e5488c8The default element names for columns with multiple elements per line are now "O;1;2;...;n"
Celine Mercier
2016-12-02 17:54:51 +01:00
e60497651cUpdated the documentation for the functions to set and get in the context of a view
Celine Mercier
2016-11-30 12:22:47 +01:00
4ad8c16a73Finished adding all the functions to directly set and get indices in columns containing indices referring to any type of data.
Celine Mercier
2016-11-30 11:08:11 +01:00
6f6099687dSequence alignment: if no sequence column is given and the view has the type NUC_SEQS_VIEW, the default sequence column is aligned
Celine Mercier
2016-11-29 16:52:41 +01:00
98d0849653Sequence alignment: added the possibility to specify the index of the sequences to align in a column containing multiple sequences per line (C level for now)
Celine Mercier
2016-11-29 16:15:02 +01:00
5fb025f310When aligning, it is now quickly checked whether the sequences are identical using their indexes
Celine Mercier
2016-11-28 11:39:29 +01:00
8ce6f6c80bAdded an argument to specify whether the two sequences can be identical when applying filters before aligning
Celine Mercier
2016-11-28 11:38:02 +01:00
3e53f9418bAdded functions to recover the indexes themselves from any column referring to indexed values
Celine Mercier
2016-11-28 11:35:19 +01:00
d40d2d0c76Fixed error in documentation
Celine Mercier
2016-11-28 10:55:23 +01:00
f897e87600When closing a view, it is now automatically checked that all OBI_QUAL columns correspond to their associated OBI_SEQ column
Celine Mercier
2016-11-25 12:04:57 +01:00
70e056a2aaIt is now impossible to open or clone a view that is not finished (= has been closed at least once)
Celine Mercier
2016-11-24 11:19:07 +01:00
8abbfa203aGood file for commit 6fa9a8bd: When a view is cloned, a comment is added to the new view specifying the name of the cloned view
Celine Mercier
2016-11-23 11:32:39 +01:00
6fa9a8bd76When a view is cloned, a comment is added to the new view specifying the name of the cloned view
Celine Mercier
2016-11-23 11:29:21 +01:00
76a4c6b14eFixed a bug when cloning a view and checking its type
Celine Mercier
2016-11-23 11:28:17 +01:00
0ab9e6c05aWhen adding an existing column to a view, it is checked that the column's line count is at least the view's line count. This can't be more stringent for reasons that need to be rediscussed
Celine Mercier
2016-11-23 11:04:53 +01:00
70c49e214aAdded the kmer filter to LCS alignments, and now obiblobs containing encoded sequences are directly put in int16_t arrays for the alignment
Celine Mercier
2016-11-18 16:29:28 +01:00
08e67a090fChanged the inline functions syntax, which should make it compatible with more compilers
Celine Mercier
2016-11-18 16:21:26 +01:00
621b4972dbFunctions to get obiblobs through views
Celine Mercier
2016-11-18 15:59:50 +01:00
7d022c1a52If the indexer name is NULL when creating a column, it now becomes the column name
Celine Mercier
2016-11-18 15:56:51 +01:00
359578814bAdded view type property to OBIView cython class and updated obi export to use it
Celine Mercier
2016-11-08 17:49:59 +01:00
51b23915caAdded properties for Nuc_Seq cython classes (and updated commands using them)
Celine Mercier
2016-11-08 16:59:32 +01:00
b5b889c4a2Fixed the OBI_Nuc_Seq_Stored cython class not being up to date with the new properties of its parent class
Celine Mercier
2016-11-08 11:26:37 +01:00
36ac315125Fixed bugs with python view type when creating a new view, and a bug when trying to guess the obi type of a nucleotide sequence when its type was bytes
Celine Mercier
2016-11-08 11:23:54 +01:00
8291693309obi grep: updated to work with the new line selection class and within the local sequence environment, and progress bar functioning
Celine Mercier
2016-11-08 11:19:12 +01:00
4bc19c3e49obi export: view type is now checked and progress bar functioning
Celine Mercier
2016-11-08 11:17:20 +01:00
2d2fe5279dAdded functions to add new taxa to a taxonomy with handling of associated *.ldx files
Celine Mercier
2016-11-03 17:59:21 +01:00
2504bf0fa9Added an iterator to the OBI_Taxonomy cython class
Celine Mercier
2016-11-02 11:08:18 +01:00
d8a257e711Taxonomy handling functions in C. Features: read taxdump, read binary files, write binary files. Not fully handled yet: *.adx, *.pdx, *.ldx, merged.dmp and delnodes.dmp files.
Celine Mercier
2016-10-27 18:56:11 +02:00
b63d0fb9fbAdded C functions to write .rdx, .tdx, .ndx binary taxonomy files from a taxonomy C structure
Celine Mercier
2016-10-14 17:03:10 +02:00