by londons_explore · 5y ago · 0 comments
Having Bioinformatics people requiring to stray a long way from their core competency to learn a scripting language from the 80's to write glue code seems... suboptimal. How many hours of expert time has been wasted figuring out how to split a string in bash?
Can us software people build a better tool to eliminate the need for this?
Sadly, this is very uncommon in the community. In a bioinformatics meeting, the sentence "I spent X days setting up Y software" will not raise many eyebrows
I look with much jealousy over at the computer science field where papers often include code, multiple versions under version control, automated tests, setup/docker scripts, and demonstration workflows and interfaces.
They probably could have achieved the same by invoking things in Python, but it would have been slower and not achieved a lot, other than “not using shell scripts”.
And once you go down the path of optimizing this enough, you’ll end up reinventing shell scripts altogether.
I think we could create something like a GitHub of bio projects that need help and people assist with hopes of getting their names in a paper
I find astonishing how bad Python is as a bash replacement.
I often rather write an argument parser in bash than use Python if I have to invoke a bunch of commands.
> explaining ppl how to use Python subprocess Module Launch different apps, capture their output
There's no shame in using `os.system`.
Seriously please tell me if you are founding this company so I can invest.
Most probably, not. Bash is currently the sweet spot. It is actually the best tool for this job. Any other option comes with increased complexity, will make the whole software less stable.
I also use Bash and AWK for preprocessing a lot.
Probably a good many more than would be needed to learn how to split a string in Python.