Basically I have two questions regarding metadata file. I am using qiime2-2018.6. Each patient has two fasq files (forward and reverse) obtained from the Illumina paired-end technique. The compressed fasq files are already demultiplexed, with examples listed below.
Here there are 2 patients (EW_30 and LH_60) and each patient has samples collected from 4 time points. I use the Casava 1.8 paired-end technique to import the files into QIIME2.
My questions are listed below.
I tried to create a metadata file as a .txt file from Excel. Does QIIME2 allow a .txt file as a metadata file? If not, how to convert a .txt file to a .tsv file in QIIME2?
When preparing metadata (.tsv or .txt), how to name elements in the SampleID column in the metadata? How do I know elements in the SampleID column of the metadata file match those in the imported file listed above? Are they matched sequentially regardless the value in the SampleID column of the metadata file? For the example listed above, should I use values as EW_30 and LH_60 sequencially in the column SampleID of the metadata file? Not sure if they match those in the imported file from Casava.
Many thanks in advance!
thermokarst
(Matthew Ryan Dillon)
assigned ebolyen
#2
QIIME 2 doesn’t really care about the extension of files, the important thing is the contents. I believe Excel saves TSV formatted files with a .txt extension. So assuming when you look at your .txt file in something simple like Notepad and you see a bunch of whitespace (the tab) between your values, you should be good to go.
IDs (of both samples and features) matched by their exact name, so generally you never have to worry about the order of anything.
What will happen in the case above is the following: