You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After #26 and #32 we can now have a more flexible way to use the findorfs with multiple ORF finder methods with or without scoring scheme. Now, we can levearege on that to make getorfs more complex by adding a scoring filter to get only the sequences that actually are above a scoring threshold. For instance the argmax to the orf.score field will help.
orfs[argmax([orf.score for orf in orfs])]
We can also use a combination of sorting and filtering:
sortedorfs =sort(orfs, by = orf ->-orf.score)
sortedorfs[1:min(10, end)]
The function will gain a min_scorekwarg:
functiongetorfs(
sequence::NucleicSeqOrView{DNAAlphabet{N}},
::DNAAlphabet{N},
method::M;
kwargs...
min_score=0
) where {N,M<:GeneFinderMethod}
...end
Still to define...
The text was updated successfully, but these errors were encountered:
After #26 and #32 we can now have a more flexible way to use the
findorfs
with multiple ORF finder methods with or without scoring scheme. Now, we can levearege on that to makegetorfs
more complex by adding a scoring filter to get only the sequences that actually are above a scoring threshold. For instance theargmax
to theorf.score
field will help.We can also use a combination of sorting and filtering:
The function will gain a
min_score
kwarg:Still to define...
The text was updated successfully, but these errors were encountered: