Open grendon opened 6 years ago
Thanks for reporting. I should find a more informative error message. The problem is that no reads are found on any chromosomes because your bed-file uses non-standard names.
If this isn't a regular genome, look into the chromsizes option :)
Forgot to add:
--chromsizes CHROMSIZES, -cs CHROMSIZES
Set the chromosome lengths yourself in a file with two
columns: chromosome names and sizes. Useful to analyze
custom genomes, assemblies or simulated data. Only
chromosomes included in the file will be analyzed.
Please tell me if this does not solve your problem :)
That was a quick reply!
My genome is rat and it is part of your list. But if the tool doesn't like my naming schema, it can't be helped! I will generate the file of chromosome sizes and try again.
Thanks a lot!
But rn5, rn6 etc. have chromosome names chr1-chr20 + chrX + chrY
.
Is NC_001665.2
actually chr2
or what?
It is the NCBI rat genome Rnor_6.0
NC_001665.2 Rattus norvegicus strain BN/SsNHsdMCW mitochondrion, complete genome
Then your bed-files do not contain chromosome info, as far as I understand. Also, there seems to be many duplicated reads (PCR artifacts?).
I converted my BAM files to BED format with bamtobed as suggested in the tutorial.
Then I run the epic command like this:
The command aborted. These are the last few lines with the error message
A snippet of one of the BED files looks like this:
NC_001665.2 16221 16313 K00363:111:HMW3HBBXX:7:2212:31913:7134 11 + NC_001665.2 16222 16313 K00363:111:HMW3HBBXX:2:2118:13098:31189 11 + NC_001665.2 16222 16313 K00363:111:HMW3HBBXX:4:1109:15747:9016 11 - NC_001665.2 16222 16313 K00363:111:HMW3HBBXX:5:2120:7476:19795 11 - NC_001665.2 16223 16313 K00363:111:HMW3HBBXX:2:1205:32096:24894 11 - NC_001665.2 16223 16313 K00363:111:HMW3HBBXX:5:1107:14631:29624 11 - NC_001665.2 16223 16313 K00363:111:HMW3HBBXX:8:2109:21379:42653 11 + NC_001665.2 16224 16313 K00363:111:HMW3HBBXX:4:2114:8816:15399 11 - NC_001665.2 16225 16313 K00363:111:HMW3HBBXX:7:1118:30442:5886 11 + NC_001665.2 16226 16313 K00363:111:HMW3HBBXX:3:1215:17168:13060 11 +
Any suggestions to correct this error??