This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Demultiplexing fastq files

I am doing demultiplexing of fastq files using demultiplex. The command is:

system2("demultiplex demux /home/sidrah19220/Thesis/new/fastqfile/atac_v1_pbmc_10k_fastqs/index_fastq.gz /home/sidrah19220/Thesis/new/fastqfile/atac_v1_pbmc_10k_fastqs/pe1_fastq.gz /home/sidrah19220/Thesis/new/fastqfile/atac_v1_pbmc_10k_fastqs/pe2_fastq.gz", )

But it is showing error":

**demultiplex: error: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte**

Please help..

r linux python sequencing

Please use the formatting bar (especially the code option) to present your post better. You can use backticks for inline code (`text` becomes text), or select a chunk of text and use the highlighted button to format it as a code block. I've done it for you this time.
code_formatting

Can you provide some information about what kind of data this is? Also which demultiplex program are you referring to?

It is fastq file which I need to demultiplex as per the barcode file. I used tool 'demultiplex'below

What version of python are you running? You likely need to specify the text encoding as UTF-8 or alter your terminal locale settings.

Try adding this to the top of your script if you're running python3:

#!/usr/bin/python
# -*- coding: utf-8 -*-

0 answers

No answers yet.

Log in to answer this question.