- 13 Jan, 2017 40 commits
-
-
Ryan Herbert authored
editing permissions or deleting a patient was broken due to the wrong id being passed to the controller.
-
Ryan Herbert authored
-
RyanHerb authored
-
RyanHerb authored
-
RyanHerb authored
just a little more info on the init_db form.
-
RyanHerb authored
in the same vein as setting the admin password for users, the web2py admin password is not easy to change once web2py itself has been installed. Therefore defaulting it to the same as the vidjil admin passwords seems like a good option
-
RyanHerb authored
We're moving towards distributing vidjil so it's important to allow users to choose their admin email and password.
-
Mikaël Salson authored
-
Mikaël Salson authored
-
Mikaël Salson authored
This is due to the Aho-Corasick automaton where we now have an index load for the V gene and for the J gene. There is only one matching kmer from IGLJ but that's enough to have an evalue < 1 because the index load for IGLJ is very low and because there are only two reads in the dataset. We could put a -e 1e-1 on the command line to make the test pass. Would this be hacky or not?
-
Mikaël Salson authored
This test passed because the 2 matched the 241 of the read length. But this is not what we wanted to test. We expect just one sequence to be ambiguous.
-
Mikaël Salson authored
This is necessary (for instance) with xxx germlines.
-
Mikaël Salson authored
Kmer indexes and Aho-Corasick don't have the same features. While it is possible to deal with several seeds in Aho-Corasick it is not with a simple lookup table. Therefore we can consider different seeds only in some cases.
-
Mikaël Salson authored
Launching init several times will allocate several times score_bins and nb_scores which will cause memory leaks. This is particularly the case in the WindowExtractor() which calls BinReadStorage on germline->code but we can have different germlines with the same germline->code.
-
Mikaël Salson authored
The default index will be set to Aho-Corasick when we'll consider that it is ready. For now, option -q (quick) can launch AC automaton
-
Mikaël Salson authored
-
Mikaël Salson authored
Makes it ready to support a parameter to choose the index.
-
Mikaël Salson authored
Allows to build any type of index instead of relying on one specific type.
-
Mikaël Salson authored
This has been moved in another file for better code separation.
-
Mikaël Salson authored
It will be useful to determine the type of index to build at runtime.
-
Mikaël Salson authored
-
Mikaël Salson authored
-
Mikaël Salson authored
The affectation length is longer with Aho-Corasick than with k-mer based indexes. So we use the length of the read instead.
-
Mikaël Salson authored
The length of the affectations must be the seed span and not the seed weight as the dashes are replaced by actual letters. Unit test added.
-
Mikaël Salson authored
-
Mikaël Salson authored
This makes possible to compare affectations regardless of their length.
-
Mikaël Salson authored
Some indexes store global informations regarding all the kmers (ArrayKmerStore and MapKmerStore). Other indexes have a more detailed view on the kmers that are stored (Aho-Corasick automaton). These indexes are more accurate on the index load per affectation.
-
Mikaël Salson authored
Go back to the previous computation. Don't use kmer.getLength() to compute the index load since it is not properly set with the UNKNOWN or NOT_UNKNOWN affectations.
-
Mikaël Salson authored
Depending on the length of the affectation, we may not have the same results
-
Mikaël Salson authored
At first, we considered that smallestAnalysableLength() would be enough to deal with differences between a k-mer index and an Aho-Corasick automaton. This is actually not the case. We need to have the length of the seed together with the affectation for the Aho-Corasick automaton. In the end this allows to get the same affectation strings than with a k-mer index. This would not have been possibble with the smallesAnalysableLength() function and it makes it useless.
-
Mikaël Salson authored
This will be useful for Aho-Corasick automaton to put the affectation at the right place.
-
Mikaël Salson authored
To determine whether two affectations are equal, we don't need to check their length for the unknown and ambiguous affectations. They could even differ. The length of an ambiguous affectation would be the length of the affectations causing the ambiguity
-
Mikaël Salson authored
-
Mikaël Salson authored
Needed with the Aho-Corasick automaton (because of using a map)
-
Mikaël Salson authored
-
Mikaël Salson authored
-
Mikaël Salson authored
The germline may have an index but also sub-germlines (eg. for XXX germline). All of them must be finished.
-
Mikaël Salson authored
When the germline by itself didn't insert any kmer but relies on other germlines (eg. for the XXX germline), we compute the index load by relying on the index load of the other germlines. Note that the sum may not accurately reflect the index load (as there may have common k-mers between the germlines).
-
Mikaël Salson authored
It prevents from finishing several times (which may cause some troubles)
-
Mikaël Salson authored
-