Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • zillur
    Senior Member
    • Sep 2014
    • 106

    #61
    Thank you very much. Now I can open the vi editor with /usr/bin/vi a window open containing : ~
    ~ VIM - Vi IMproved
    ~
    ~ version 7.3
    ~ by Bram Moolenaar et al.
    ~ Vim is open source and freely distributable
    ~
    ~ Help poor children in Uganda!
    ~ type :help iccf<Enter> for information
    ~
    ~ type :q<Enter> to exit
    ~ type :help<Enter> or <F1> for on-line help
    ~ type :help version7<Enter> for version info
    ~
    Then I was setting path :
    export PATH=“/Users/ZILLURRAHMAN/Desktop/Bioinformatics/Bow-tie/bowtie2-2.2.3/:$PATH” and this was my previously setted path. But still it is not working. I think somehow I replaced this path by
    “users/ZILLURRAHMAN/desktop/bioinformatics/bow-tie/bowtie2-2.2.3/BT2_HOME:??
    As I am very new in command line I am making mistakes. Sorry guys I am giving you too much pain.

    I can't use http://www.tech-recipes.com/rx/2618/...with_textedit/ this link cause my open command also not working.

    [6]+ Stopped /usr/bin/vim
    Mds-MacBook-Pro:desktop ZILLURRAHMAN$ /usr/bin/vim

    [7]+ Stopped /usr/bin/vim
    Mds-MacBook-Pro:desktop ZILLURRAHMAN$ ls
    -bash: ls: command not found
    Mds-MacBook-Pro:desktop ZILLURRAHMAN$ /usr/bin/vim

    [8]+ Stopped /usr/bin/vim
    Mds-MacBook-Pro:desktop ZILLURRAHMAN$ open .profile
    -bash: open: command not found
    Mds-MacBook-Pro:desktop ZILLURRAHMAN$ open -a TextEdit .profile
    -bash: open: command not found
    Mds-MacBook-Pro:desktop ZILLURRAHMAN$ cd
    Mds-MacBook-Pro:~ ZILLURRAHMAN$ /usr/bin/vim

    [9]+ Stopped /usr/bin/vim
    Mds-MacBook-Pro:~ ZILLURRAHMAN$ /usr/bin/vim

    [10]+ Stopped /usr/bin/vim
    Mds-MacBook-Pro:~ ZILLURRAHMAN$ echo $PATH
    “users/ZILLURRAHMAN/desktop/bioinformatics/bow-tie/bowtie2-2.2.3/BT2_HOME:??

    May be I am missing something very fundamental line...........

    Comment

    • GenoMax
      Senior Member
      • Feb 2008
      • 7142

      #62
      Can you create a new user account with administrative privileges and see if you are able to get around the problems you are facing with this account? That would also verify that you don't have some other fundamental problem with your OS.

      If the new account works properly then we can copy the programs/data over to the new account.

      Comment

      • zillur
        Senior Member
        • Sep 2014
        • 106

        #63
        Thank you very much. I don't know how to create a new user account. Can give me instructions to create a new user account.

        Comment

        • GenoMax
          Senior Member
          • Feb 2008
          • 7142

          #64
          Originally posted by zillur View Post
          Thank you very much. I don't know how to create a new user account. Can give me instructions to create a new user account.

          Comment

          • blancha
            Senior Member
            • May 2013
            • 367

            #65
            I don't think you know that you need to open a new Terminal window, or type
            source ~/.bash_profile
            for the changes to the .bash_profile file to take effect.

            You simply edited the .bash_profile file.

            As far as I can see, you didn't open a new Terminal window or source the .bash_profile file.

            Once you do open a new Terminal window or source the .bash_profile file, the changes will take effect, and your PATH environment variable will be updated.

            Comment

            • GenoMax
              Senior Member
              • Feb 2008
              • 7142

              #66
              @Zillur: Reboot your Mac before doing anything (e.g. adding an account). With a mac you may just be used to closing the lid and resuming your work. Opening a new terminal window (apple + t) may be enough as blancha mentions but just to be sure reboot (if you have indeed fixed your PATH variable).

              Comment

              • zillur
                Senior Member
                • Sep 2014
                • 106

                #67
                Thank you very much to you all for your helping hand.
                Mds-MacBook-Pro:~ ZILLURRAHMAN$ source ~/.bash_profile
                -bash: $: command not found

                I added a new account and in this account everything is going fine. But I can't find any file from my previous account. I want to send all my files and folders from previous account to new account. Can you suggest me how can I do it?

                Regards
                Zillur

                Comment

                • GenoMax
                  Senior Member
                  • Feb 2008
                  • 7142

                  #68
                  Originally posted by zillur View Post

                  I added a new account and in this account everything is going fine. But I can't find any file from my previous account. I want to send all my files and folders from previous account to new account. Can you suggest me how can I do it?

                  Regards
                  Zillur
                  In the new account do the following (hopefully you have enough storage available to duplicate the data temporarily). This is only copying the "Bioinformatics" folder from /Users/ZILLURRAHMAN/Desktop/, repeat for anything else you need:

                  Code:
                  $ sudo cp -R /Users/ZILLURRAHMAN/Desktop/Bioinformatics /Users/Current_Acct_Name/Desktop
                  That hopefully should copy everything over to the desktop of the new account. You will need to adjust PATH etc to account for the new account, when you run the programs.

                  If you are not using "time machine" to keep a backup of your computer do yourself a favor and set this up first thing tomorrow. Get an external drive and get time machine backups going. That way you can roll back a mistake easily.

                  Comment

                  • zillur
                    Senior Member
                    • Sep 2014
                    • 106

                    #69
                    Thank you very much for your kind reply. Here is the line with new user. But...

                    Mds-MacBook-Pro:desktop nemesisnemesis$ $ sudo cp -R /Users/ZILLURRAHMAN/Desktop/Bioinformatics /Users/nemesisnemesis/Desktop
                    -bash: $: command not found
                    Mds-MacBook-Pro:desktop nemesisnemesis$ cd
                    Mds-MacBook-Pro:~ nemesisnemesis$ $ sudo cp -R /Users/ZILLURRAHMAN/Desktop/Bioinformatics /Users/nemesisnemesis/Desktop
                    -bash: $: command not found

                    Comment

                    • GenoMax
                      Senior Member
                      • Feb 2008
                      • 7142

                      #70
                      That means things are not working right on your Mac for both (perhaps all accounts).

                      At this point you could check a couple more locations from this thread (last post in the thread): https://discussions.apple.com/thread...art=0&tstart=0 Those are /etc/profile and /etc/bashrc.

                      Note: I am still not sure how you managed to get your system into this state.

                      I do need to warn you that we are approaching areas of the system that may lead to irreparable damage, if you did something wrong. Perhaps it is time to call upon a friend/colleague who may be more knowledgeable about the command line and show them the problem and this thread.

                      Comment

                      • GenomExpert
                        Junior Member
                        • Oct 2014
                        • 7

                        #71
                        I'm also trying to install bowtie. What I did:

                        download bowtie2-2.1.0-mingW-win64.zip
                        unzip successfully..
                        now what to do next...

                        Comment

                        • zillur
                          Senior Member
                          • Sep 2014
                          • 106

                          #72
                          Command lines.

                          Thank you all very much for your help and patience cause I was asking so many times about the same thing. I have upgrade my OS from OSX to X11 which gave me XQuartz with a new terminal Xterm and here everything is working fine. Like:
                          bash-3.2$ type more
                          more is /usr/bin/more
                          bash-3.2$ type less
                          less is /usr/bin/less
                          bash-3.2$ type cat
                          cat is /bin/cat
                          bash-3.2$ type head
                          head is /usr/bin/head
                          bash-3.2$ type ls
                          ls is hashed (/bin/ls)
                          bash-3.2$

                          What is the difference between hashed or without hashed?

                          But still my terminal doesn't work. Can I continue with the XQuartz? or i have to do anything else?

                          Comment

                          • GenoMax
                            Senior Member
                            • Feb 2008
                            • 7142

                            #73
                            @zillur: If you have no access to local help and if xterm in XQuartz is working then that is your only choice at this point.

                            Comment

                            • GenomExpert
                              Junior Member
                              • Oct 2014
                              • 7

                              #74
                              hiii,
                              i am trying to generate variant calls in VCF format using this command
                              samtools mpileup -uf $BT2_HOME/example/reference/lambda_virus.fa eg2.sorted.bam | bcftools view -bvcg - > eg2.raw.bcf
                              but it generates the output like:
                              [mpileup] 1 sample in 1 input files
                              <mpileup>set max per-file depth to 8000
                              [bcf_sync] incorrect number of fields (0 != 5) at 0:0
                              [afs]0:0:000
                              plz help in solving this problem

                              Comment

                              • GenoMax
                                Senior Member
                                • Feb 2008
                                • 7142

                                #75
                                Originally posted by GenomExpert View Post
                                hiii,
                                i am trying to generate variant calls in VCF format using this command
                                samtools mpileup -uf $BT2_HOME/example/reference/lambda_virus.fa eg2.sorted.bam | bcftools view -bvcg - > eg2.raw.bcf
                                but it generates the output like:
                                [mpileup] 1 sample in 1 input files
                                <mpileup>set max per-file depth to 8000
                                [bcf_sync] incorrect number of fields (0 != 5) at 0:0
                                [afs]0:0:000
                                plz help in solving this problem
                                GenomeExpert: Can you please create a new thread for this question (seqanswers.com --> Forums --> Select Appropriate forum --> New thread button on top left)? Please include information about the version of samtools/bcftools you are using.

                                It would be better since this question is not related to the original topic of this thread/would likely generate a response quicker.

                                Comment

                                Latest Articles

                                Collapse

                                • SEQadmin2
                                  From Collection to Sequencing: Why Sample Preparation and Preservation Define Sequencing Data
                                  by SEQadmin2


                                  Data variability is still an issue in sequencing technologies despite the advances in reproducibility and accuracy of these platforms. But the problem does not originate in the sequencing itself, but in the previous steps, before the sample reaches the sequencer.


                                  The first step is collection, followed by preservation and sample preparation for analysis. Most scientists overlook those steps, but not being careful might just be skewing the experiment’s results.
                                  ...
                                  06-02-2026, 10:05 AM
                                • SEQadmin2
                                  Single-Cell Sequencing at an Inflection Point: Early Impacts of New Platforms and Emerging Trends
                                  by SEQadmin2


                                  With the launch of new single-cell sequencing platforms in 2026, the field stands at an exciting inflection point. This article surveys the most impactful advances in the field and discusses how they’re reshaping research in cancer, immunology, and beyond.


                                  Introduction

                                  Single-cell sequencing technologies have undergone remarkable advances over the past decade, transitioning from low-throughput experimental approaches to highly scalable platforms capable of...
                                  05-22-2026, 06:42 AM
                                • SEQadmin2
                                  Environmental Genomics in the Age of NGS: From Microbes to Conservation Strategies
                                  by SEQadmin2

                                  Studying ecosystems means dealing with complex, multi-species communities that are hard to observe at scale. This complexity, however, hides many important questions to be answered, from how biogeochemical cycles work and how climate change can affect species distribution to how conservation strategies can work best.


                                  Genomics, particularly since the expansion of NGS, has transformed ecosystem ecology. By sequencing environmental DNA, we can now assess biodiversity without direct...
                                  05-06-2026, 09:04 AM

                                ad_right_rmr

                                Collapse

                                News

                                Collapse

                                Topics Statistics Last Post
                                Started by SEQadmin2, 06-02-2026, 12:03 PM
                                0 responses
                                21 views
                                0 reactions
                                Last Post SEQadmin2  
                                Started by SEQadmin2, 06-02-2026, 11:40 AM
                                0 responses
                                14 views
                                0 reactions
                                Last Post SEQadmin2  
                                Started by SEQadmin2, 05-28-2026, 11:40 AM
                                0 responses
                                29 views
                                0 reactions
                                Last Post SEQadmin2  
                                Started by SEQadmin2, 05-26-2026, 10:12 AM
                                0 responses
                                31 views
                                0 reactions
                                Last Post SEQadmin2  
                                Working...