bokulich-lab / RESCRIPt

REference Sequence annotation and CuRatIon Pipeline
BSD 3-Clause "New" or "Revised" License
84 stars 26 forks source link

MAINT: update `orient-seqs` to use vsearch `orient` #146

Closed nbokulich closed 1 year ago

nbokulich commented 1 year ago

orient-seqs currently uses vsearch --usearch_global to search a database, then reorient.

This was always a short-term solution, as vsearch was previously pinned across many Q2 plugins so we could not use the more recent vsearch --orient option. But that pin is now gone.

We should update to use orient. Advantages:

  1. cut down on current code in orient-seqs
  2. probably more efficient
  3. can operate on both FASTA and FASTQ data

The disadvantage is that some of the options available in --usearch_global might not be available in orient.