Hi Oddant1,
I'm commenting here as I have the same issue with qiime deblur denoise-16S . I'm running Qiime2 2023.7
I ran the following commands and have attached my .qzv files at each step.
1) generating the .qza
demultiplexed_sequences = Artifact.import_data(
'SampleData[PairedEndSequencesWithQuality]', # Change this to 'SampleData[SequencesWithQuality]'
renamed_dir, # the sub folder
CasavaOneEightSingleLanePerSampleDirFmt,
)
Saving the .qza file
demultiplexed_sequences.save(result_dir)
** 2) Remove primers from the sequencing data **
cmd = """
qiime cutadapt trim-paired
--i-demultiplexed-sequences /home/charuka/PilotSequencing/demultiplexed_sequences.qza
--p-cores 40
--p-front-f GTGCCAGCMGCCGCGGTAA
--p-front-r GGACTACHVGGGTWTCTAAT
--p-match-adapter-wildcards
--o-trimmed-sequences /home/charuka/PilotSequencing/trimmed_demultiplexed_sequences.qza
"""
subprocess.run(cmd, shell=True)
3) Joining the pair end reads
cmd = """
qiime vsearch merge-pairs
--i-demultiplexed-seqs trimmed_demultiplexed_sequences.qza
--p-threads 8
--o-merged-sequences demux-trimed-joined.qza
--verbose
"""
subprocess.run(cmd, shell=True)
** 4) Filtering **
cmd = """
qiime quality-filter q-score
--i-demux demux-trimed-joined.qza
--p-min-quality 20
--p-min-length-fraction 0.5
--o-filtered-sequences demux-trimed-joined-filtered.qza
--o-filter-stats demux-trimed-joined-filtered_Stats.qza
"""
subprocess.run(cmd, shell=True)
** 5) Denoising**
cmd = """\
qiime deblur denoise-16S
--i-demultiplexed-seqs /home/charuka/PilotSequencing/demux-trimed-joined-filtered.qza
--p-trim-length 464
--p-sample-stats
--o-representative-sequences /home/charuka/PilotSequencing/rep-seqs-deblur.qza
--o-table /home/charuka/PilotSequencing/table-deblur.qza
--o-stats /home/charuka/PilotSequencing/deblur-stats.qza
--verbose
"""
subprocess.run(cmd, shell=True)
Then I hit the following error
/home/charuka/anaconda3/envs/qiime2-2023.7/bin/deblur:534: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
logger.warn('deblur version %s workflow started on %s' %
/home/charuka/anaconda3/envs/qiime2-2023.7/bin/deblur:536: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
logger.warn('parameters: %s' % locals())
/home/charuka/anaconda3/envs/qiime2-2023.7/lib/python3.8/site-packages/deblur/workflow.py:847: UserWarning: Problem removing artifacts from file /tmp/qiime2/charuka/data/52ba129f-37a7-41a4-b19b-054afc6b8956/data/D110z2005DJ502_389_L001_R1_001.fastq.gz
warnings.warn('Problem removing artifacts from file %s' %
/home/charuka/anaconda3/envs/qiime2-2023.7/bin/deblur:637: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
logger.warn('deblurring failed for file %s' % input_fp)
/home/charuka/anaconda3/envs/qiime2-2023.7/lib/python3.8/site-packages/deblur/workflow.py:847: UserWarning: Problem removing artifacts from file /tmp/qiime2/charuka/data/52ba129f-37a7-41a4-b19b-054afc6b8956/data/37z1C8C102W_182_L001_R1_001.fastq.gz
warnings.warn('Problem removing artifacts from file %s' %
/home/charuka/anaconda3/envs/qiime2-2023.7/bin/deblur:637: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
logger.warn('deblurring failed for file %s' % input_fp)
/home/charuka/anaconda3/envs/qiime2-2023.7/lib/python3.8/site-packages/deblur/workflow.py:147: UserWarning: Vast majority of sequences (21 / 21) are shorter than the trim length (464). Are you using the correct -t trim length?
warnings.warn(errmsg, UserWarning)
/home/charuka/anaconda3/envs/qiime2-2023.7/lib/python3.8/site-packages/deblur/workflow.py:847: UserWarning: Problem removing artifacts from file /tmp/qiime2/charuka/data/52ba129f-37a7-41a4-b19b-054afc6b8956/data/496z1C0C511W_283_L001_R1_001.fastq.gz
warnings.warn('Problem removing artifacts from file %s' %
/home/charuka/anaconda3/envs/qiime2-2023.7/bin/deblur:637: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
logger.warn('deblurring failed for file %s' % input_fp)
/home/charuka/anaconda3/envs/qiime2-2023.7/lib/python3.8/site-packages/deblur/workflow.py:847: UserWarning: Problem removing artifacts from file /tmp/qiime2/charuka/data/52ba129f-37a7-41a4-b19b-054afc6b8956/data/562z2C0C31W_340_L001_R1_001.fastq.gz
warnings.warn('Problem removing artifacts from file %s' %
/home/charuka/anaconda3/envs/qiime2-2023.7/bin/deblur:637: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
logger.warn('deblurring failed for file %s' % input_fp)
/home/charuka/anaconda3/envs/qiime2-2023.7/lib/python3.8/site-packages/deblur/workflow.py:847: UserWarning: Problem removing artifacts from file /tmp/qiime2/charuka/data/52ba129f-37a7-41a4-b19b-054afc6b8956/data/466z2AH501B_257_L001_R1_001.fastq.gz
warnings.warn('Problem removing artifacts from file %s' %
/home/charuka/anaconda3/envs/qiime2-2023.7/bin/deblur:637: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
...
max() arg is an empty sequence
See above for debug info.
CompletedProcess(args='\nqiime deblur denoise-16S --i-demultiplexed-seqs /home/charuka/PilotSequencing/demux-trimed-joined-filtered.qza --p-trim-length 464 --p-sample-stats --o-representative-sequences /home/charuka/PilotSequencing/rep-seqs-deblur.qza --o-table /home/charuka/PilotSequencing/table-deblur.qza --o-stats /home/charuka/PilotSequencing/deblur-stats.qza --verbose\n\n\n', returncode=1)
Can you please help me with this? 
Results_qzvs.zip (1.2 MB)
Thank you