SEQanswers

Go Back   SEQanswers > Bioinformatics > Bioinformatics



Similar Threads
Thread Thread Starter Forum Replies Last Post
PeakSeq mappability map Wonko Bioinformatics 2 10-21-2013 02:48 AM
Creating my own bed file annavilborg Bioinformatics 3 03-07-2013 05:27 AM
Mappability File omiguele Bioinformatics 6 12-29-2012 11:37 PM
Creating Circular genome map sarbashis Bioinformatics 8 07-17-2012 10:49 PM
BWA not creating rBWT file ramiro2k Bioinformatics 2 03-23-2012 02:27 AM

Reply
 
Thread Tools
Old 08-24-2013, 11:41 AM   #1
AL_B
Junior Member
 
Location: israel

Join Date: Aug 2013
Posts: 5
Default Creating Mappability Map file

Hi,
I have downloaded the mappability map code, from:
http://archive.gersteinlab.org/proj/...ppability_Map/
I followed the instructions from the README file.
I downloaded the .fa files, I created the executable files by using the makefile
and I used the command python compile.py.
I don't really understand the part:
"use CountMap.py in the usual way to access the data"
So... what is the "usual way"? what do I do from this point to get my mappability_map.txt file?

Thanks in advance to anyone that will try to help.
AL_B is offline   Reply With Quote
Old 01-29-2014, 04:28 AM   #2
maciosz
Junior Member
 
Location: poland

Join Date: Jan 2014
Posts: 4
Default

Hi,
It took me a while to find answer for that one myself, before I decided to simply look at the code. I figured out you should run map.py script, but first - you need to edit it, because the original version is suitable for human chromosomes. For example, my data consist from seven chromosomes named 1, 2, 3, 4, 5 and Mt, Pt. So I changed the beginning of the code to look like that:

Code:
for i in xrange(1,8):
  if i<= 5:
    chr = str(i)
  elif i ==6:
    chr = "Mt"
  else
    chr = "Pt"
Also, I removed "chr" from next lines:
Code:
nicechr = chr
filename = chr + "b.out"
beacuse my files' names don't start with "chr".

Then I simply run
Code:
python map.py > map.txt
in the same directory where the script were and all files generated by compile.py.

I'm not positive if this is correct way to do that, because in the next step I get some weird errors, but I think it's not because of the mappability file.
maciosz is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT -8. The time now is 05:52 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Single Sign On provided by vBSSO