Open ammaraziz opened 1 year ago
For the rename
branch to be merged into main
, I need to fix or add the following:
add_month
, add_gene
, add_passage
) is hidden under a single flag rename
. Should these be exposed?_
.'
-> replace with nothing ''
write_sequences
, it expects a dict which works for when sequences are renamed. If they are not renamed, a list is given to write_sequences
. Two options, write_sequences
detects the object type and acts accordingly or a new function needs to be written.
Subcommand for finding fasta files specific to a batch.
Example usage:
split-by
can be split by gene where output isha.fasta
na.fasta
etc orall
returning all files individually splitinput-dir
to the directory of fasta files. Encode default paths (see below)input-meta
from fuzee output containing seqno to retreiveOperation:
Seq No
split-by
is specified, split as appropriateoutput-dir
with namedbatch-number
Default paths to search in:
Considerations:
/00-New Sequences/
first and if no matches are returned, search in.../Sequencing-NGS/
for any files matching the batch number then split files into.../00-New Sequences/
but do not overwrite existing files.