News for hackers. Stuff that matters.

ldoroud

Re:How to measure DNA similarity with Python on Wednesday February 26, 2020 @01:20PM (#22425655)
Since you specifically mentioned DNA similarity and not strings in general, I assume you want to align the sequences rather than just the Levenshtein distance between them... If that is the case, I recommend using Biopython (https://biopython.org/) for alignments. There are modules for pairwise sequence alignments both global and local alignments.
The link seems to be broken?
Re:Useful Perl one-liners (2013) on Tuesday November 29, 2016 @07:59PM (#13067610)
Not really or at least I haven't had that problem. It would be a problem if they used both \r and \n at the same time. in that case you can always do \r\n to \n or something like that.
Re:Useful Perl one-liners (2013) on Tuesday November 29, 2016 @07:32PM (#13067462)
My favorite command when dealing with csv/txt files generated by Microsoft products:

   perl -p -e 's/\r/\n/g' Bad_Microsoft.csv Good_unix.csv
You can check out http://humanfoodproject.com/americangut/ for more information on what to expect, analysis pipeline and privacy of your data. Also, there is a very cool TED talk by Rob Knight on gut microbiome: https://www.ted.com/talks/rob_knight_how_our_microbes_make_u...
Re:Show HN: LogDNA – Easy logging in the cloud on Wednesday February 10, 2016 @08:18PM (#11077604)
DNA is normally and naturally right-handed which means your logo is wrong!