9c9aec2556
Cython API: the associated sequence column for a quality column can now be specified at the Python level
Celine Mercier2018-08-08 19:49:56 +02:00
275d85dc5d
Cython: fixed a bug when reading an uncompressed file in binary mode where the first 4 characters would not be read
Celine Mercier2018-07-28 17:11:51 +02:00
895d09b133
obi import: 'taxid' columns are imported as 'TAXID' to fit view predicates, and fixed taxdump import and DMS closing
Celine Mercier2018-07-28 17:03:00 +02:00
c02c15b93f
Cython API: URI decoding now returns the character string with the object path if it could not be opened
Celine Mercier2018-07-28 17:00:42 +02:00
3e8c187f0b
Cython API: added EMBL parser and files to import are now read in binary mode
Celine Mercier2018-07-28 16:57:01 +02:00
7f6d1597fc
Taxonomy: added functions to check if a taxonomy already exists in a DMS, and added taxdump import from a compressed file
Celine Mercier2018-07-28 16:48:11 +02:00
1de308a856
obi clean: option to only keep heads now works, fixed a bug where last sequence was not properly labelled, and code is cleaned, fixed and error checked
Celine Mercier2018-05-31 15:11:41 +02:00
f0c147c252
C API: Added a function to set an entire column to a specified (atomic) value.
Celine Mercier2018-05-17 15:59:16 +02:00
4aef20add8
Fixed a bug where the line selection column of a view would not be flagged as finished
Celine Mercier2018-05-17 15:17:19 +02:00
62614a8538
Cython API: fixed a bug in URI decoding and option handling where the quality offset would not be read properly
Celine Mercier2018-05-17 15:10:52 +02:00
ffebc6acfb
Cython API: better handling of default quality offset value
Celine Mercier2018-05-17 15:01:25 +02:00
b91b3176b0
obi uniq: fixed a bug where merged values were wrongly reinitialized
Celine Mercier2018-05-17 14:58:15 +02:00
123fb9d7ba
Cython API: in taxonomy, added get_taxon_at_rank() function for Taxonomy class and rank_idx property for Taxon class
Celine Mercier2018-03-21 16:38:26 +01:00
4c3478d8f8
Removed the predicate to check for a quality column (because for example with obi annotate, clone view so clone predicate, then modify seq, so quality is deleted, and predicate becomes a problem)
Celine Mercier2018-03-21 16:37:19 +01:00
dad21823ff
Cython API: trying to guess the type of a column when adding a None value does not generate an exception anymore, and RollbackException can now rollback several views
Celine Mercier2018-03-12 18:03:37 +01:00
96bf2daae8
Cython API: added slices in Seq classes and fixes
Celine Mercier2018-03-12 17:51:41 +01:00
00993d4215
Cython API: fixed a bug where the quality format would not be read properly from the configuration values
Celine Mercier2018-02-12 14:42:30 +01:00
e9e7fac999
New obi uniq: stores columns with too many elements per line as character strings, and keeps a minimum of things in the memory
Celine Mercier2017-12-13 22:49:08 +01:00
1fd3323372
Columns: elements names informations are now kept in a memory arena of adapted size in the header, and added a boolean in the header indicating whether the values should be evaluated (typically character strings to be evaluated in Python)
Celine Mercier2017-12-13 22:46:50 +01:00
2df5932b67
Cython column API: fixed a memory leak, optimized the reading of elements names, added a __len__ method to Column_line, and the API for columns with character strings to evaluate
Celine Mercier2017-12-13 22:27:36 +01:00
b93b982a18
Cython: added an option for input taxdump and and an option for the maximum number of elements in columns with multiple elements per line
Celine Mercier2017-12-13 22:25:15 +01:00
ea73047fc7
Added rewinddir before each readdir so that the directories are always read properly
Celine Mercier2017-11-24 18:04:58 +01:00
0998268955
Fixed two little potential bugs when cleaning unfinished columns and deleted old trace
Celine Mercier2017-11-24 18:03:59 +01:00
31726407a3
Taxonomy: fixed a bug where a pointer was not properly reallocated, and a bug where the merged list of taxids was not built correctly
Celine Mercier2017-11-24 18:01:30 +01:00
d21f4a6f90
Header parser: identifiers ending with ';' are now handled
Celine Mercier2017-11-24 17:59:52 +01:00
9e3ac477eb
OBIDMS: Opened DMS now have a counter associated so that DMS are not actually opened several times by the same program, which triggers the cleaning of unfinished views and columns (to discuss)
Celine Mercier2017-11-24 17:58:47 +01:00
ee5d647d0d
Taxonomy: fixed a bug un parental tree iterator
Celine Mercier2017-11-24 17:55:17 +01:00
3ba7ce1c91
View rollback: version files and column directories aren't deleted anymore to prevent indexer bug, and fixed a freeing bug
Celine Mercier2017-11-15 17:27:26 +01:00
9a50803c00
Added tuple columns containing immutable indexed data arrays of any type
Celine Mercier2017-11-15 13:48:59 +01:00
1684f96b79
Fixed a bug when flagging a read-only column as finished
Celine Mercier2017-10-26 19:11:29 +02:00
43f65e7fd0
obi uniq: fixed bug where dictionary indexes were not read properly, and added view rollback in case of an exception.
Celine Mercier2017-10-26 19:00:05 +02:00
dfd51939a0
Views are now rollbacked if an error occurs, and unfinished views and columns are deleted when an OBIDMS is opened.
Celine Mercier2017-10-26 18:58:48 +02:00
1ae634d56b
Added atexit command to obi import, obi uniq and obi less
Celine Mercier2017-10-16 11:09:55 +02:00
04e065094a
All DMS opened by a program are now listed and closed with atexit system
Celine Mercier2017-10-16 10:35:07 +02:00
fb9b219abe
Fixed a bug with taxonomy URIs not being read correctly
Celine Mercier2017-10-04 16:00:30 +02:00
09a5f89849
Column API: improvements to be more flexible when referring to elements in columns with several elements per line.
Celine Mercier2017-10-04 15:59:23 +02:00
ae24a807da
obi uniq: added the option to merge ids, except it only works on small sets until lists are implemented properly using obiblobs
Celine Mercier2017-09-25 17:28:03 +02:00
75c15594c4
obi uniq: added option to use categories additionally to the sequence to determine uniqueness
Celine Mercier2017-09-25 10:56:43 +02:00
5ed6835e0e
Fixed a bug where the new line count when truncating a column would not be computed correctly when dealing with high numbers (bad automatic type for intermediate result)
Celine Mercier2017-09-25 10:52:19 +02:00
41dec03448
Merge branch 'master' of git@git.metabarcoding.org:obitools/obitools3.git
Celine Mercier2017-09-18 16:08:31 +02:00
7c57bd33e5
Added check to prevent views from having the name 'taxonomy' (used for URIs)
Celine Mercier2017-09-15 14:54:55 +02:00
a776e46e6d
Add the command name in the log
coissac2017-09-15 14:51:13 +02:00