Add an option (flag) which outputs the headers of failed sequences and the corresponding reason
or
Add a tag to the fasts header as tag/comment i.e. after a whitespace and implement a filtering step which filters the fasta headers based on their tags in the end and remove the tag section again
For the last approach a concluding list of removed headers and their reason as a table might be useful
Add an option (flag) which outputs the headers of failed sequences and the corresponding reason
or
Add a tag to the fasts header as tag/comment i.e. after a whitespace and implement a filtering step which filters the fasta headers based on their tags in the end and remove the tag section again
For the last approach a concluding list of removed headers and their reason as a table might be useful