Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • omiguele
    Junior Member
    • Sep 2012
    • 7

    Mappability File

    Hi Im kind of new in linux and I am trying to create a Mappability File using the executables and instructions that are part of peakseq that are here http://archive.gersteinlab.org/proj/...lity_Map/Code/ Finally when I do "python compile.py" I get this /bin/sh: 1: chr2hash: not found
    /bin/sh: 1: oligoFindPLFFile: not found
    /bin/sh: 1: mergeOligoCounts: not found

    I know this has to do with put them in my PATH but I dont understand what does that mean. Could someone please explain that to me and what should I do to solve this problem?

    Thanks I really appreciate your time
  • TiborNagy
    Senior Member
    • Mar 2010
    • 329

    #2
    PATH is an environment variable. When you run a program, it was looked for in your current directory and in PATH. PATH contains other directories where runnable programs can be found. You can see the value of it with the following command: echo $PATH.
    You can add new directory temporary with this:
    export PATH=$PATH:/yourdirectory

    Comment

    • omiguele
      Junior Member
      • Sep 2012
      • 7

      #3
      Thanks I tried what you kindly answered, but I got the same message for the three executables...do you have any idea why isnt it working?

      Again thank you

      Comment

      • GenoMax
        Senior Member
        • Feb 2008
        • 7142

        #4
        See this page for help with adding new directories to PATH variable: http://www.cyberciti.biz/faq/unix-linux-adding-path/

        You appear to be using sh/bash shell.

        Did you do the following per "TiborNagy's" directions (change to the directory where you issued the python command):

        1. Type "pwd" (without quotes). This should print the full directory path
        2. Type "export PATH=$PATH:copy_and_paste_the_path_string_printed_after_step_1" (without quotes, replace the correct string)
        3. Try the python command again.

        Are you still getting errors after doing the above?
        Last edited by GenoMax; 09-26-2012, 10:16 AM.

        Comment

        • omiguele
          Junior Member
          • Sep 2012
          • 7

          #5
          Creating Mappability File

          Thank you Im not having problems with that now. But I wonder if you could help me with this.Once all files were produced using python compile.py, what are the files that CountMap.py takes as input?... I tried all the different ones for a chromosome but I get this " SyntaxError: Non-ASCII character '\xac' " Do I need to process this files before using CountMap.py? And if thats the case which program should I use?

          Thank you

          Comment

          • GenoMax
            Senior Member
            • Feb 2008
            • 7142

            #6
            It sounds like there is some kind of formatting issue with your data files.

            Have you tried to download the test data set from the PeakSeq page and checked to see if that works.

            There is a pipeline that uses the PeakSeq programs. It shows example input strings for the various python program. http://array.mbb.yale.edu/pipeline/scoring.html

            Here is the example for CountMap.py input from the pipeline page. You will need to change file paths to match your own.

            ~/solexa/bin/countMaps.py [-c <count dir>] [-o <output dir>] [-w
            <window size>] [-h]

            -c directory where you did the count
            -o directory where you want the mappability file to be (if not given, ~/solexa/mappability)
            -w window size (if not given, 1,000,000)
            -h help

            Comment

            • mjp
              Member
              • Mar 2011
              • 25

              #7
              Does anybody know how was the 'mappability' file created from paper by Hesselberth et.al on "Global mapping of protein-DNA interactions in vivo by digital genomic footprinting"?

              They came up with BED file structured like this (fragment of file):
              chr1 5 6 . 100
              chr1 6 7 . 100
              chr1 7 8 . 100
              chr1 8 9 . 100
              chr1 9 10 . 100
              chr1 10 11 . 100
              chr1 11 12 . 10
              chr1 12 13 . 10
              chr1 13 14 . 10
              chr1 14 15 . 10
              chr1 15 16 . 10
              chr1 16 17 . 100
              chr1 17 18 . 100
              chr1 18 19 . 100
              chr1 19 20 . 100
              chr1 20 21 . 100

              I'm trying to understand how was the 5th column created or in other words: what is the meaning of '10' and '100' ?
              They call this mappability data but they seem to store there only the unmapped bases (?)



              Any help on how to create this file would be appreciated.

              Comment

              Latest Articles

              Collapse

              • SEQadmin2
                Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                by SEQadmin2



                Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
                ...
                07-09-2026, 11:10 AM
              • SEQadmin2
                Cancer Drug Resistance: The Lingering Barrier to Rising Survival
                by SEQadmin2



                Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

                There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
                07-08-2026, 05:17 AM
              • GATTACAT
                Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
                by GATTACAT
                Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
                07-01-2026, 11:43 AM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by SEQadmin2, 07-13-2026, 10:26 AM
              0 responses
              28 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-09-2026, 10:04 AM
              0 responses
              37 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-08-2026, 10:08 AM
              0 responses
              25 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-07-2026, 11:05 AM
              0 responses
              35 views
              0 reactions
              Last Post SEQadmin2  
              Working...