I have a text file as follows:
orthogroup1
orthogroup4
...
And I have a directory with text files as follows:
orthogroup1.faa.reconciled
orthogroup2.faa.reconciled
orthogroup3.faa.reconciled
orthogroup4.faa.reconciled
...
I want to use the text file to get the corresponding filenames in my directory.
The result should be something like:
orthogroup1.faa.reconciled
orthogroup4.faa.reconciled
How can I do this?
Thanks in advance :)