As always, I assume there is a way to do this seqkit, but my fu is not strong enough to find it.
I have a BED file of positions/columns I would like to keep from a multiple sequence alignment.
I've tried seqkit subset -w 0 -U --bed keep.bed msa.fa > msa.trim.fa but I get the warning [WARN] sequence () not found in file: msa.fa and the resulting output is empty. I assume this is because the chromosome name in the BED does not match the names of the sequences in the MSA.
Esentially I want to ignore the chromosome name and just extract the positions in the BED from each sequence in the MSA.