cdhit icon indicating copy to clipboard operation
cdhit copied to clipboard

Directory rather than a single file as an input?

Open neginmb opened this issue 3 years ago • 1 comments

How to provide cd-hit with a directory rather than a file as input? My purpose is to compare all the sequences in all fasta files in this directory against each other and cluster them.

neginmb avatar Mar 24 '21 16:03 neginmb

My purpose is to compare all the sequences in all fasta files in this directory against each other and cluster them.

Concatenate the individual files, then run cd-hit on the concatenated file.

cat dir/*.faa > all.faa cd-hit -i all.faa -o clustered.faa

acvill avatar Jun 02 '21 14:06 acvill