Invalid characters on line 2 (does not match IUPAC characters for a DNA sequence).
(qiime2-2019.7)
Kindly suggest how I can fix this error.
I have also tried working with other reference sequences i.e., 99_otus.fasta and 85_otus.fasta, which were found to be working fine. But, during one of the following commands shown below (using 99_otus.qza), I got the following error response:
Thanks for posting your full commands and errors. Let's start with the first error:
97_otus.fasta is not a(n) DNAFASTAFormat file:
I wonder if the file is corrupted in some way, especially as the other files work fine. Type this to show the first few lines of the file and post them here.
head 97_otus.fasta
Now on to the second error!
No matches found
This one is easy! Based on the settings you provided, those primers didn't match any reads in 99_otus.qza.
Which region are your primers trying to amplify? Maybe we could get a recommendation from another user?
are not biological primers but rather the adapter sequences, so naturally there are no hits in the reference database. You should replace those with your actual loci-specific primer sequences.
Also worthy of note that your --p-trunc-len 530 parameter may be too high for most paired-end illumina primers. This may lead you to discarding most if not all your matching sequences and then you will get another error hinting at having an empty file.
Thank you Sir for the suggestion. Mistakenly I was using the aligned file of 97_otus.fasta, which led to this error. The next command also worked as I removed the adaptor sequences from the locus-specific primers for V3 and V4 amplification.
Thanks!
Yes Sir, the resulting nucleotide sequences was indeed a combination of both adaptors and locus specific primers. I have now removed the adaptor sequences and used the locus specific primers for analysis. I have modified the --p-trunc-len to 460 with the min and max values of 390 and 550. I have set these values based on info given in tutorial for the setting of these parameters. Kindly correct me if you feel something fishy in these parameters.
Thanks for the help.