Added test for splitted sequence - #9
Conversation
This test setup checks if the md5 checksum is different if one entry of the fasta file is split into two
|
Hi @r-mllr thanks for your PR. I am not sure if I understand exactly what you expect the method to do. Frank brought up the example of two files: and which would get the same md5 sum assigned. This is exactly what I want, since I think of fasta files as results of assemblies. The file above would represent an older assembly with two contigs / scaffolds, the lower file is a revision in which people found a way how to resolve the gap between |
|
Ah, then, I misunderstood the consept. I thought the checksums should not be equal. Then, you should change
The tests should fail, then |
|
If this method is of general interest, we could add a parameter to control the behaviour. |
|
not sure. I convert the pull request to a draft pull request for the case it comes up in the future |
Added simple tests, which guarantees different md5 checksums for non-identical sequences, which are identical after concatination.