Giter Site home page Giter Site logo

fastq file with empty sequences about seqtk HOT 7 CLOSED

lh3 avatar lh3 commented on May 18, 2024
fastq file with empty sequences

from seqtk.

Comments (7)

sjackman avatar sjackman commented on May 18, 2024 2

@AlexBardill A workaround is to replace blank lines with a single N.

sed 's/^$/N/'

from seqtk.

lh3 avatar lh3 commented on May 18, 2024 1

@AlexBardill and @lexnederbragt: see 32e7903

from seqtk.

sjackman avatar sjackman commented on May 18, 2024

Is this issue fixed by 771d60b?

from seqtk.

lexnederbragt avatar lexnederbragt commented on May 18, 2024

I could try it out, but just realised that, when one uses 'seqtk sample' on paired read files, the pairing used to be conserved by using the same seed. Is this still the case when empty sequences are ignored?

from seqtk.

vsbuffalo avatar vsbuffalo commented on May 18, 2024

Yes, this should be fixed. I fixed this issue in bioawk (lh3/bioawk#9) by pulling in the newest kseq.h. I compared SHA-1 hashes of kseq.h and both bioawk and this current seqtk have the same kseq.h.

from seqtk.

abardill avatar abardill commented on May 18, 2024

I'm still having this issue with the latest version of seqtk. After removing adapters with cutadapt, 0 length entries remain, which look like

@J00125:42:HCYCYBBXX:5:1106:2727:11530 2:N:0:TCCTGAGC+AGAGGATA

+

After using trimfq, this changes to

>J00125:42:HCYCYBBXX:5:1106:2727:11530 2:N:0:TCCTGAGC+AGAGGATA

from seqtk.

sjackman avatar sjackman commented on May 18, 2024

Thanks, Heng.

from seqtk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.