I am in the process of uploading 16S microbiome data for a publication and I made a filtered feature table including only the samples included for this manuscript. That file is in .qza format. I need to upload this file to MG Rast and they need it in .fasta format. I was able to convert .qza to .biome, but MG Rast doesn't recognize that. Is there a way in qiime2 to get the fast file for this table?
If you need to upload a fasta file, then your FeatureTable[Frequency] is the wrong artifact to be looking at --- sounds like you need to export your FeatureData[Sequence] artifact.
So I assume I would need to filter the rep-seqs file based on the metadata and then export that filtered seq set? Is there are filter seqs command like there was a filter feature table command?
Yes, it is called filter-seqs. Type qiime feature-table filter-seqs --help into your terminal for more details.
I do not know exactly what mgrast expects, but I doubt that is what you really want to upload. The rep seqs are the unique ASV sequences themselves, but contain no abundance information. I assume mgrast needs the raw data, e.g., before denoising and with some abundance information (i.e., replicate sequences in each sample). If so, I recommend just exporting your data after demultiplexing to get a directory containing a fastq file for each sample. You can convert that to fasta (outside of QIIME 2) and upload to mgrast.