is there an ticket/quickfix to remove a pointless ...
# intellij
h
is there an ticket/quickfix to remove a pointless
let
such as in
Copy code
openFasta("hervs99k.fasta")
    .filter { it.sequence.length.let { it in 1000..3000 } }
    // suggest to replace unnecessary let with just
    .filter { it.sequence.length in 1000..3000 }
?
2
youtrack 2
a
@holgerbrandl Seeing that you are importing a Fasta file, are you using Kotlin for bioinformatics?
h
@andyb where possible yes, using a few kotlin bits collected in https://github.com/holgerbrandl/kutils But IMHO those bioinformatics bits should be refactored out into a separate artifact. We could try it together in case you're interested.
a
I got into bioinformatics as a 'hobby' via Project Rosalind (http://rosalind.info/about/) and a few Coursera courses. Really enjoyed it as an application of IT and some really interesting algorithms.
Most of my bioinformatics has been in Python, but would be interested seeing in how that transfers to Kotlin
h
I should blog about it more often. In fact many things could be pulled in from biojava.
a
I should have a look at biojava. Spent a lot of time implementing sequence alignment & phylogeny algorithms in Python but the biojava pages look v impressive