I am running into the following error when trying to run shortbred_quantify.py:
Tabulating results for each marker... ['/fastq_files/sample1.processed.fq', '/fastq_files/sample2.processed.fq']Traceback (most recent call last): File "biobakery-shortbred-918294a74d70/shortbred_quantify.py", line 626, in <module> dAlnLength=args.dAlnLength,strFile = strInputFile) File "biobakery-shortbred-918294a74d70/src/quantify_functions.py", line 558, in CalculateCounts sys.stderr.write("WARNING: 0 Reads found in file:" + strFile ) TypeError: cannot concatenate 'str' and 'list' objects
I added some code to write strFile directly, and it seems for some reason the variable strFile is the format of a list (i.e. ['/fastq_files/sample1.processed.fq'] ) rather than a string '/fastq_files/sample1.processed.fq', resulting in the error. If I eliminate line 558 from quantify_functions.py it finishes running and seems to work ok (though I did have zero counts for these particular samples).
Referencing https://groups.google.com/forum/#!searchin/shortbred-users/$27list$27%7Csort:date/shortbred-users/-NroCrvzuDg/FM6rMk00AgAJ, I have already tried changing the files endings from .fq to .fastq, and it did not fix the problem.
Any ideas how to fix this error without editing the shortbred src files?
Thank you,
Kristen