error in count reads by exons
1
0
Entering edit mode
8.1 years ago
jleandroj • 0

Hi

I followed this tutorial to counts reads by exons.

http://bedtools.readthedocs.io/en/latest/content/tools/multicov.html

After running the script, I got this error "Unexpected file format. Please use tab-delimited BED, GFF, or VCF. Perhaps you have non-integer starts or ends at line 2?"

I am not sure if the problem is the bed file because I downloaded the .bed file with many differents or all columns: Name of gene, chrom, strand, txStart, txEnd, cdsStart, cdsEnd, exonCount, exonStarts, exonEnds, proteinID, alignID

Althought I tried running with differents bed files, I got the same error.

What is the problem.

Thanks

software error • 1.7k views
ADD COMMENT
1
Entering edit mode

Name of gene, chrom, strand, txStart, txEnd, cdsStart, cdsEnd, exonCount, exonStarts, exonEnds, proteinID, alignID

This appears to be refGene (or GenePred) file format, not BED. BED files must begin with the columns chromosome, start position, and stop position.

ADD REPLY
0
Entering edit mode

Thanks Wouter De coster and thanks genomax2

I selected in the ucsc in outformat: selected fields from primary tables and related tables and that is the reason because I was wrong when I downloaded the table.

Sorry.

ADD REPLY
0
Entering edit mode

Please use ADD REPLY or ADD COMMENT to answer to earlier reactions, as such this thread remains logically structured and easy to follow.

We are happy that this could be solved so easily.

ADD REPLY
1
Entering edit mode
8.1 years ago

The bed file should look like this:

chr1 0   10000   ivl1
chr1 10000   20000   ivl2
chr1 20000   30000   ivl3
chr1 30000   40000   ivl4
ADD COMMENT
2
Entering edit mode

A minimal BED file should look like that. But there is BED detail format that may fit what OP has.

ADD REPLY
0
Entering edit mode
ADD REPLY

Login before adding your answer.

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