Old Julia and Perl versions treat one line as one FASTA record, which only work for single-line FASTA sequences. However the test data are not.
I'm curious about who's faster between Julia and Go. So I write a Go version (calculate_fasta_median_length.go), a binary file for 64-bit Linux is also provided.
The Go version has a good performance according the result. Of cause, the compilation process was excluded from the tests.
This is awesome! Interesting to see how Go performs with this bioinformatics task. I guess it makes sense with respect to the other Julia/Go benchmarking times. This is very cool!
Old Julia and Perl versions treat one line as one FASTA record, which only work for single-line FASTA sequences. However the test data are not.
I'm curious about who's faster between Julia and Go. So I write a Go version (calculate_fasta_median_length.go), a binary file for 64-bit Linux is also provided.
The Go version has a good performance according the result. Of cause, the compilation process was excluded from the tests.