Morioka MS
unread,Jun 15, 2011, 10:35:19 AM6/15/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to igv-help
Hi,
Im trying to make tdf file, using (sorted) BAM file.
When I use SAM file (source file of BAM file), igvtools sucessfully
generate tdf file.
But in case of bam file I can not.
Igvtools tells me "no features were found" in described below.
Any suggestion why this happens?
Thanks,
Masaki Suimye Morioka
IGVtools ver.: im sorry i can not find out version of Igvtools
-bash-3.2$ igvtools count test.sort.bam test.tdf mm9
###########################################################
Computing coverage. File = test.bam
Window size = 25
Ext factor = 0
java.lang.RuntimeException: Invalid file pointer: 890
at net.sf.samtools.BAMFileReader.getIterator(BAMFileReader.java:159)
at net.sf.samtools.SAMFileReader.iterator(SAMFileReader.java:217)
at
org.broad.igv.sam.reader.BAMQueryReader.iterator(BAMQueryReader.java:
78)
at org.broad.igv.tools.CoverageCounter.parse(CoverageCounter.java:
120)
at org.broad.igv.tools.Preprocessor.count(Preprocessor.java:776)
at org.broad.igv.tools.IgvTools.doCount(IgvTools.java:243)
at org.broad.igv.tools.IgvTools.main(IgvTools.java:153)
Caused by: java.io.IOException: Invalid file pointer: 890
at
net.sf.samtools.util.BlockCompressedInputStream.seek(BlockCompressedInputStream.java:
205)
at net.sf.samtools.BAMFileReader.getIterator(BAMFileReader.java:157)
... 6 more
No features were found that matched chromosomes in genome: mm9
100.0%
###########################################################