qiime tools import
--type 'SampleData[PairedEndSequencesWithQuality]'
--input-path $data_to_import
--output-path demultiplexed-sequences.qza
There was a problem importing /media/mo/New_Volume/16S/samples:
Missing one or more files for SingleLanePerSamplePairedEndFastqDirFmt: '.+_.+_L[0-9][0-9][0-9]_R[12]_001\.fastq\.gz'
What is this variable "$data_to_import"? A bit more infromation when asking questions on the forum will make it easier for people to help you and get to the bottom of the issue.
It looks like you are trying to import your paired end data using the format where it's expected to have reads that have a format similar to this:
It doesn't appear that your data has that format (lane number, and read direction included). I would just make an import manifest, which is a tab serperated file to tell qiime2 where to find your reads using absolute paths.
This importing tutorial covers all types of data and methods to import them.
I am unaware of any Qiime2 script to make manifests.
Unfortunately, I think this is where learning some basic coding comes in. I have written my own Python scripts to make my manifests when datasets are large and this is probably your best bet. If you are more proficient in R then obviously would use that.
Alternatively, you could searching the forum for "make manifest" as some people have shared their code, for example here, here or here.