![]() |
|
|
#1 |
|
Member
Join Date: Dec 2009
Location: asia
Posts: 57
|
Code:
Traceback (most recent call last):
File "/home/taoliu/bin/macs", line 273, in <module>
main()
File "/home/taoliu/bin/macs", line 71, in main
options.bg_redundant = bg_r (treat,options.max_dup_tags) # average
File "/home/taoliu/bin/macs", line 225, in bg_r
return float(total_duplicates)/(total_tags)
ZeroDivisionError: float division
Code:
$ macs --format ELAND -t CMM028_191_unique_hits.txt -c CMM027_027_unique_hits.txt --name=CM28 --gsize=2473000000 --tsize=35 --mfold=25 --diag --wig |
|
|
|
|
|
#2 | |
|
Senior Member
Join Date: Oct 2009
Location: Tsinghua, Beijing, China
Posts: 236
|
First of all, you should check your Eland format, make sure it follows the following description, which is copied from MACS manual: http://liulab.dfci.harvard.edu/MACS/00README.html
Quote:
__________________
Xi Wang |
|
|
|
|
|
|
#3 |
|
Member
Join Date: Dec 2009
Location: asia
Posts: 57
|
Ya I found out my format is GERALD(-Illumina). Wasted almost 3 hours to convert GERALD to BED or ELAND. Still no result.
Found a perl script but it's for Solexa and Peakfinder package (Unfortunately jar files are not working (May be some Java file installation problems in my PC)). Now writing my own script to modify the format...... |
|
|
|
|
|
#4 |
|
Member
Join Date: Dec 2009
Location: asia
Posts: 57
|
Could any one post GERALD format with simple text file and ELAND format with a simple text file.
Thanx |
|
|
|
|
|
#5 |
|
Member
Join Date: Dec 2009
Location: asia
Posts: 57
|
Code:
GERALD 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 B2GA005 1 1 95 1341 615 0 1 TAGTAGAGGCCCCCAATGTGGTCCAAGATTCCCTA ggggggggggggggggggggghggggegggggggg chr1.fa 3000839 R 35 113 B2GA005 1 1 79 902 907 0 1 GAAAGGGACCACTGTGGGATGGAAGTGGACGTGAG gdgdggdgbggfggfggceffeY^e[ecVYc]`]` chr1.fa 3001342 R 26T8 71 B2GA005 1 1 47 804 221 0 1 TAGTGGGAACAAGCTGACAGCTCTGTGTTCTGCTT ggggggggggggggggggggggggggggggggggg chr1.fa 3001805 F 35 87 Last edited by repinementer; 02-09-2010 at 12:45 AM. |
|
|
|
|
|
#6 |
|
Member
Join Date: Dec 2009
Location: asia
Posts: 57
|
But still not sure with F and R definitions I gave..
![]() Code:
repine@pc499 ~/MACS-1.3.7.1
$ awk '$13 == "R" {print $11,"\t",$12+35,"\t",$12,"\t",$13,"\t",$1} $13 == "F" {print $11,"\t",$12,"\t",$12+35,"\t",$13,"\t",$1}' CMM027_027_unique_hits.txt |tr 'F' '+' |tr 'R' '-'|tr -d '.fa'
|
|
|
|
![]() |
| Thread Tools | |
|
|