Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • add to path

    I know this is a basic question, but one I seem to struggle with. After I install and application (bedops) - /home/dnascopev/Desktop/bedops-2.4.14

    I add the bin to path or the directory? That is:

    path to directory
    Code:
     export PATH=$PATH:"/media/C2F8EFBFF8EFAFB9/bedops-2.4.14"
    path to bin (where all the binaries are)
    Code:
     export PATH=$PATH:"/media/C2F8EFBFF8EFAFB9/bedops-2.4.14/bin"
    At one point it was working but now I get:

    Code:
    dnascopev@ubuntu:~/Desktop/bedops-2.4.14$ bedmap --echo --echo-map-id-uniq epilepsy70_medex_edit.bed gencode.exons.bed > answer.bed
    bedmap: command not found
    Thank you .
    Last edited by cmccabe; 07-07-2015, 08:56 AM.

  • #2
    Does

    Code:
    $ echo $PATH
    include both /media/C2F8EFBFF8EFAFB9/bedops-2.4.14/bin and /home/dnascopev/Desktop/bedops-2.4.14/bin?

    What does

    Code:
    $ which bedmap
    $ locate bedmap
    produce?

    BTW: It is not a good idea to make identical copies of folders like this in multiple locations.

    Comment


    • #3
      Code:
      dnascopev@ubuntu:~/Desktop/bedops-2.4.14$ echo $PATH
      /usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/dnascopev/Desktop/bedtools2-2.20.1:/media/C2F8EFBFF8EFAFB9/bedops-2.14.2/bin:/media/C2F8EFBFF8EFAFB9/bedops-2.4.14/bin:/media/C2F8EFBFF8EFAFB9/bedops-2.4.14
      
      dnascopev@ubuntu:~/Desktop/bedops-2.4.14$ which bedmap
      
      dnascopev@ubuntu:~/Desktop/bedops-2.4.14$ locate bedmap
      /home/dnascopev/Desktop/bedops-2.4.14/bin/bedmap
      I moved bedops off the media device because I thought that maybe that would help solve the permission denied error was getting. Thank you .
      Last edited by cmccabe; 07-07-2015, 08:36 AM.

      Comment


      • #4
        Modify $PATH to include "/home/dnascopev/Desktop/bedops-2.4.14/bin/" and you should be good to go.

        Comment


        • #5
          That was it... thank you .

          Comment


          • #6
            would the below permanently add the path?

            Code:
             export PATH=$PATH:"/home/dnascopev/Desktop/bedops-2.4.14/bin/" >> ~/.bashrc
            whenever I close the terminal path keeps reseting so I am hoping this solves it. Thank you .

            Comment

            Latest Articles

            Collapse

            • seqadmin
              Essential Discoveries and Tools in Epitranscriptomics
              by seqadmin




              The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
              04-22-2024, 07:01 AM
            • seqadmin
              Current Approaches to Protein Sequencing
              by seqadmin


              Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
              04-04-2024, 04:25 PM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, 04-25-2024, 11:49 AM
            0 responses
            15 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-24-2024, 08:47 AM
            0 responses
            17 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-11-2024, 12:08 PM
            0 responses
            62 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-10-2024, 10:19 PM
            0 responses
            60 views
            0 likes
            Last Post seqadmin  
            Working...
            X