Removing Barcodes with UPARSE/USEARCH
1
0
Entering edit mode
8.7 years ago

I'm working on pre-processing my microbiome data with UPARSE/USEARCH (http://www.drive5.com/). I need to remove my barcode reads. There is a script available for this: http://drive5.com/python/fastq_strip_barcode_relabel_py.html

I am getting the following error:

File "USEARCH_py/fastq_strip_barcode_relabel.py", line65, in <module> fastq.ReadRecs(FileName, OnRec)
File "/home/qiime/Documents/USEARCH_py/fastq.py", line 140, in ReadRecs ReadSeqs(FileName, OnRec)
File "/home/qiime/Documents/USEARCH_py/fastq.py", line 127, in ReadRecs assert Line[0] == '@'
AssertionError

Can anyone help me identify the problem?

microbiome uparse • 2.4k views
ADD COMMENT
0
Entering edit mode

I have encountered the same problem now. How did you solve it?

I was inputting a FASTQ file, but it still shows an error

ADD REPLY
2
Entering edit mode
8.7 years ago

assert Line[0] == '@' means that the line should start with a @. In this case, it's checking that it is a FASTQ file. I was inputting a FASTA file from the previous step, which uses > as a line delimiter.

ADD COMMENT

Login before adding your answer.

Traffic: 1867 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6