Coder Social home page Coder Social logo

Comments (19)

roryk avatar roryk commented on July 22, 2024

I think your files are corrupt-- that error is telling you there are less reads in your read 2 file than in the read 1 file. If you do a wc -l on those two files, are they different lengths?

from hisat2.

akhilpampana avatar akhilpampana commented on July 22, 2024

ya they are different length, and basically they are of same locus and 2 are continuous

from hisat2.

akhilpampana avatar akhilpampana commented on July 22, 2024

basically the files are split 2 two parts taken from same sample, so thats the reson for difference in length, can u please suggest me how to deal with this error??

from hisat2.

roryk avatar roryk commented on July 22, 2024

Just concatenate the two files together. -1 and -2 are for paired end reads. Concatenate both files together into a file called combined.fq or something similar and call hisat2 with -r combined.fq instead of using -1 and -2.

from hisat2.

akhilpampana avatar akhilpampana commented on July 22, 2024

is it possible to write in the code itself ??

from hisat2.

akhilpampana avatar akhilpampana commented on July 22, 2024

and how to concatenate using hisat2??

from hisat2.

roryk avatar roryk commented on July 22, 2024

You can just concatenate the two files together with the unix command cat:

http://man7.org/linux/man-pages/man1/cat.1.html

from hisat2.

akhilpampana avatar akhilpampana commented on July 22, 2024

ya if thats the case i will try thank you. if i got any errors i will ask thanks for the help

from hisat2.

akhilpampana avatar akhilpampana commented on July 22, 2024

thank you its running

from hisat2.

roryk avatar roryk commented on July 22, 2024

Sweet!

from hisat2.

akhilpampana avatar akhilpampana commented on July 22, 2024

now i am getting this error, please help me out

capture

from hisat2.

tianfree avatar tianfree commented on July 22, 2024

@akhilpampana Is your fastq data generated from Solid (colorspace)? Please show some reads.

from hisat2.

akhilpampana avatar akhilpampana commented on July 22, 2024

this is the format of the data

image

from hisat2.

roryk avatar roryk commented on July 22, 2024

One of your files is probably truncated, if you do a tail on the two files you were trying to use originally, does it look like it is chopped off?

from hisat2.

akhilpampana avatar akhilpampana commented on July 22, 2024

hmmmm no i used cat to merge file it worked for around 20 samples not for thi what should i do????

from hisat2.

roryk avatar roryk commented on July 22, 2024

It is hard to answer your questions because you aren't giving very much information.

Ignore combining the files with cat for now since things aren't working. Go back to the original files. For each of those original files, if it is single end, align it with hisat2 using -r, not -1 and -2.

This error is telling you that one of your files is corrupted and there are more bases than quality measurements. Usually this happens because the file is truncated. If you go back and align each file one by one the file that fails is the one that is corrupted. If it is truncated that means it is ending before it should, so if you look at the last lines of the file, you should see that the last read is truncated.

from hisat2.

akhilpampana avatar akhilpampana commented on July 22, 2024

k i will try again thank you

from hisat2.

akhilpampana avatar akhilpampana commented on July 22, 2024

i worked thank you very on, my file problem, i redone it

from hisat2.

infphilo avatar infphilo commented on July 22, 2024

Thanks to @roryk for your help to answer the questions!

from hisat2.

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.