Closed Alsafadi closed 3 years ago
Hey there,
I have managed to figure out the issue and fix it. The problem was that my "hits" contained more than one tab per line "\t" which prevented the 'tax_analysis_parser.py' function to correctly interpret the hits file.
I solved it by adding a line in hits-to-report.sh in my case, I had the colon character in multiple locations and an equal sign, so I got rid of these too in addition to empty lines:
sed 's/\://g' $hits | sed 's/\+//g' | sed '/^$/d' | sed '/^ $/d' | sed 's/ //g' > $hits.fixed
sort $hits.fixed > $hits.sorted
Of course, I am unsure how clear lines existed in these files, but this takes care of them too.
Best regards, Hani
Hi there,
I have managed to run through most of the workflow and I created a sparse/dense databases and ran my samples through the 2 step analysis.
When I try to run hits-to-report.sh at the end, I get an error from the tax_analysis_parser.py as seen below:
I tried to manipulate the entrys (a.e. remove any colon (:) and so) but I still get error that hits are not sorted. But the sort commands proceeds all of this.
Please let me know if you have any insight to why this may happen.
Thanks,