mpievolbio-scicomp / rarefan

http://rarefan.evolbio.mpg.de
MIT License
1 stars 0 forks source link

Fix behaviour if non-DNA sequences are submitted. #47

Closed CFGrote closed 1 year ago

CFGrote commented 1 year ago

Summary

This PR addresses issue #46. There has been a change to the java code to avoid deadlocks when blast finds only invalid characters, effectively clogging stdout. The web server now checks for non-DNA sequences and filters out fasta files that contain non-DNA characters. A similar check is performed for submitted RAYT protein files. If no valid DNA fasta remains, the user is returned to the sequence upload page.

Fixes included in this PR