Zymo-Research / figaro

An efficient and objective tool for optimizing microbiome rRNA gene trimming parameters
GNU General Public License v3.0
80 stars 25 forks source link

Figaro stops at some point #22

Closed termithorbor closed 3 years ago

termithorbor commented 3 years ago

Hi all,

this is the error I am encountering:

Traceback (most recent call last): File "figaro.py", line 213, in resultTable, forwardCurve, reverseCurve = figaroSupport.trimParameterPrediction.performAnalysisLite(parameters.inputDirectory.value, parameters.minimumCombinedReadLength.value, subsample = parameters.subsample.value, percentile = parameters.percentile.value, forwardPrimerLength=parameters.forwardPrimerLength.value, reversePrimerLength=parameters.reversePrimerLength.value, namingStandardAlias=fileNamingStandard) File "/home/tsieksmeyer/figaro/figaroSupport/trimParameterPrediction.py", line 436, in performAnalysisLite forwardReadLength, reverseReadLength = checkReadLengths(fastqList) File "/home/tsieksmeyer/figaro/figaroSupport/trimParameterPrediction.py", line 398, in checkReadLengths raise fastqHandler.FastqValidationError("Unable to validate fastq files enough to perform this operation. Please check log for specific error(s).") figaroSupport.fastqHandler.FastqValidationError: Unable to validate fastq files enough to perform this operation. Please check log for specific error(s).

Does anybody has an idea what the problem is? The log file is empty.

Thanks :)

michael-weinstein commented 3 years ago

This is generally produced when it can't read the FASTQ file enough to validate it. Check to see if you have an empty FASTQ file in there. If not, I can set up a quick check to see what could be causing the issue.

Michael

whats-in-the-box commented 3 years ago

I have the same issue. Before the error @termithorbor posted, I also got:

Forward read files appear to be of different lengths or of varied lengths. Reverse read files appear to be of different lengths or of varied lengths. Forward reads appear to not be of consistent length. Reverse reads appear to not be of consistent length.

I definitely do not have an empty fastq files here. Any help is appreciated.

Max

michael-weinstein commented 3 years ago

Ah, that one is a bit different. As the error message says, the issue is that within each file, there are reads of varying lengths. FIGARO will not currently support the analysis on variable length reads, but I am working on an update that will handle this. Apologies that it is taking me so long, I am tied up with a different project that appears to have a much tighter schedule and potentially higher stakes. I will make the update.