refresh-bio / PHIST

Phage-Host Interaction Search Tool
GNU General Public License v3.0
27 stars 2 forks source link

Input folder also reads existing subfolders #11

Open susheelbhanu opened 1 year ago

susheelbhanu commented 1 year ago

Hi @agudys,

Thanks again for fixing the earlier issues with the output directory. There still exists a potential issue, where all the files and folders in the input folder are being read into the input vir.list. .

For example, my input folder has the following, where the first is a folder containing tmp bins, and the actual file to run would be the dereplicated_bins.fna

all_bins  (folder)
dereplicated_bins.fna

It would help to provide a sanity check of sorts, where the vir.list only reads those with a particular fasta extension such as .fa, .fna, .fasta, .FA, or .FASTA

Thank you!