Ok that worked thankyou very much!
• 0 views
•
link
Hi everyone my name is Jos, this is my problem:
I have downloded some .bam files compressed in .rar, I decompressed them with both winrar and the command unrar obtaining this:
file control_1.bam control_1.bam: gzip compressed data, extra field
when I try to see the file this message comes up
head control_1.bam head: error writing 'standard output': Input/output error
What that means, thankyou in advance.
Use samtools quickcheck to check file integrity. Details can be found in the samtools documentation.
head on bam makes no sense as it is binary, instead do samtools view your.file | head
Make yourself familiar with samtools as it is a key application to work with SAM/BAM format.
Ok that worked thankyou very much!
Log in to answer this question.
BAM files are binary so you will not be able to see anything with
head.Instead of head, try using dedicated tools such as
samtools,seqkitorpicardtoolsto read bam file.