Demultiplexing fastq files
0
0
Entering edit mode
4.4 years ago

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 • 2.0k views
ADD COMMENT
0
Entering edit mode

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

ADD REPLY
0
Entering edit mode

Thank you. Noted for future.

ADD REPLY
0
Entering edit mode

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

ADD REPLY
0
Entering edit mode

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

ADD REPLY
0
Entering edit mode

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 -*-
ADD REPLY
0
Entering edit mode

version 3.6

Okay, will try that!

ADD REPLY

Login before adding your answer.

Traffic: 2413 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