Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Gyan_prakash
    Junior Member
    • Sep 2015
    • 3

    How to use GNU parallel command for running jobs in parallel

    Hi all,

    I am beginner in Linux. I want to run jobs in parallel. Recently I got to know about parallel command but i am unable to use it. can some one please help me out in using this command

    Thanks in advance !

    Gyan
    Last edited by Gyan_prakash; 09-05-2015, 12:41 AM.
  • tange
    Junior Member
    • Feb 2013
    • 7

    #2
    Please let us know whether you have:

    * Watched the intro videos https://www.youtube.com/playlist?lis...4C9FF2488BC6D1
    * Walked through the tutorial: man parallel_tutorial
    * Read the examples: LESS=+/EXAMPLE: man parallel

    Comment

    • Gyan_prakash
      Junior Member
      • Sep 2015
      • 3

      #3
      well, I have watched few parts of the videos and havent gone through other two parts.
      Actually when I am trying to run simple jobs from command line like

      parallel 'samtools flagstat {}.bam >{}.bam.stats'

      I am getting this message on scren

      Academic tradition requires you to cite works you base your article on.
      When using programs that use GNU Parallel to process data for publication
      please cite:

      O. Tange (2011): GNU Parallel - The Command-Line Power Tool,
      ;login: The USENIX Magazine, February 2011:42-47.

      This helps funding further development; and it won't cost you a cent.
      If you pay 10000 EUR you should feel free to use GNU Parallel without citing.

      To silence the citation notice: run 'parallel --bibtex'.

      parallel: Warning: Input is read from the terminal.
      parallel: Warning: Only experts do this on purpose. Press CTRL-D to exit.

      I dont understand whats happening here.

      Comment

      • dpryan
        Devon Ryan
        • Jul 2011
        • 3478

        #4
        You probably meant something along the lines of:

        Code:
        parallel 'samtools flagstat {} > {}.stats' ::: *.bam

        Comment

        • Gyan_prakash
          Junior Member
          • Sep 2015
          • 3

          #5
          Thanks a lot !! dpryan

          yes its working!

          Comment

          Latest Articles

          Collapse

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, 06-05-2026, 10:09 AM
          0 responses
          14 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 06-04-2026, 08:59 AM
          0 responses
          30 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 06-02-2026, 12:03 PM
          0 responses
          33 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 06-02-2026, 11:40 AM
          0 responses
          23 views
          0 reactions
          Last Post SEQadmin2  
          Working...