Seqanswers Leaderboard Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • CS Student
    Member
    • Apr 2011
    • 20

    BFAST- specifying tmpDir parameters

    Hi,

    I am trying to use the (-T) option in the bfast "match" command to specify the directory to which temporary files will be written instead of the default directory (current directory), but not yet able to do so!

    I am trying to use the following command:
    bfast match -f phi.x.174.fa -r reads.phi.x.174.fastq -T '/home/student/bfast/tmpDir' > bfast.matches.file.phi.x.174.bmf

    and I get this error:
    In function "BfastMatchValidateInputs": Fatal Error[IllegalPath]. Variable/Value: tmpDir.
    Message: Command line argument.
    ***** Exiting due to errors *****

    Could anyone please advise on how to specify the "path" in the (-T) option?

    Thanks in advance.
  • nilshomer
    Nils Homer
    • Nov 2008
    • 1283

    #2
    Get rid of the apostrophes.

    Comment

    • CS Student
      Member
      • Apr 2011
      • 20

      #3
      I tried removing the apostrophes, but still getting the same error!

      Could you please advise on another solution?

      Thanks.

      Comment

      • Michael.James.Clark
        Senior Member
        • Apr 2009
        • 207

        #4
        Fix the path to your tmpDir. It's wrong if you're getting that error.

        Just did this today with "-T tmp/" and it worked fine.
        Mendelian Disorder: A blogshare of random useful information for general public consumption. [Blog]
        Breakway: A Program to Identify Structural Variations in Genomic Data [Website] [Forum Post]
        Projects: U87MG whole genome sequence [Website] [Paper]

        Comment

        • CS Student
          Member
          • Apr 2011
          • 20

          #5
          Thanks Michael.

          I tried with double quotations as you did and added the "/" character at the end of my path and it worked.

          I have another problem now. I get the following error [at the end of the code below]:

          Checking input parameters supplied by the user ...
          Validating fastaFileName phi.x.174.fa.
          Validating readsFileName reads.phi.x.174.fastq.
          Validating tmpDir path home/student/bfast-0.6.4f/output/.
          **** Input arguments look good!
          ************************************************************
          ************************************************************
          Printing Program Parameters:
          programMode: [ExecuteProgram]
          fastaFileName: phi.x.174.fa
          mainIndexes [Auto-recognizing]
          secondaryIndexes [Not Using]
          readsFileName: reads.phi.x.174.fastq
          offsets: [Using All]
          loadAllIndexes: [Not Using]
          compression: [Not Using]
          space: [NT Space]
          startReadNum: 1
          endReadNum: 2147483647
          keySize: [Not Using]
          maxKeyMatches: 8
          maxNumMatches: 384
          whichStrand: [Both Strands]
          numThreads: 1
          queueLength: 250000
          tmpDir: home/student/bfast-0.6.4f/output/
          timing: [Not Using]
          ************************************************************
          Searching for main indexes...
          Found 5 index (5 total files).
          Not using secondary indexes.
          ************************************************************
          Reading in reference genome from phi.x.174.fa.nt.brg.
          In total read 1 contigs for a total of 5386 bases
          ************************************************************
          Reading reads.phi.x.174.fastq into a temp file.
          ************************************************************
          In function "OpenTmpGZFile": Fatal Error[IllegalFileName]. Variable/Value: home/student/bfast-0.6.4f/output/.bfast.tmp.5OL5Ka.
          Message: Could not create a tmp file name.
          ***** Exiting due to errors *****


          Any suggestions?

          Thanks.

          Comment

          • nilshomer
            Nils Homer
            • Nov 2008
            • 1283

            #6
            home/student/bfast-0.6.4f/output should be /home/student/bfast-0.6.4f/output (leading slash!)

            Comment

            • stqa8350
              Member
              • Apr 2011
              • 13

              #7
              Hello,

              I have the same problem and I am unable to solve them. Checking through various threads, I have done all that I can

              1. Make install bfast from github

              2. Re-indexed reference file with depth '0'

              And the script used is the following;
              bsub -I /tools/bfast/bfast/bfast match -A 1 -t -n 8 -f /solid-v2/Homo_sapiens_assembly19.fasta -T $HOME/tmp/ -r /data/fastq/test.fastq > test.matches.bmf

              The Error is:

              Validating tmpDir path /PHShome/us024/tmp/*.
              ************************************************************
              In function "BfastMatchValidateInputs": Fatal Error[IllegalPath]. Variable/Value: tmpDir.
              Message: Command line argument.
              ***** Exiting due to errors *****

              Any suggestion to resolve this will be very helpful. The tmp dir is my home dir will the requisite permissions.

              Many thanks

              Uma

              Comment

              Latest Articles

              Collapse

              • seqadmin
                New Genomics Tools and Methods Shared at AGBT 2025
                by seqadmin


                This year’s Advances in Genome Biology and Technology (AGBT) General Meeting commemorated the 25th anniversary of the event at its original venue on Marco Island, Florida. While this year’s event didn’t include high-profile musical performances, the industry announcements and cutting-edge research still drew the attention of leading scientists.

                The Headliner
                The biggest announcement was Roche stepping back into the sequencing platform market. In the years since...
                03-03-2025, 01:39 PM
              • seqadmin
                Investigating the Gut Microbiome Through Diet and Spatial Biology
                by seqadmin




                The human gut contains trillions of microorganisms that impact digestion, immune functions, and overall health1. Despite major breakthroughs, we’re only beginning to understand the full extent of the microbiome’s influence on health and disease. Advances in next-generation sequencing and spatial biology have opened new windows into this complex environment, yet many questions remain. This article highlights two recent studies exploring how diet influences microbial...
                02-24-2025, 06:31 AM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by seqadmin, 03-20-2025, 05:03 AM
              0 responses
              20 views
              0 reactions
              Last Post seqadmin  
              Started by seqadmin, 03-19-2025, 07:27 AM
              0 responses
              26 views
              0 reactions
              Last Post seqadmin  
              Started by seqadmin, 03-18-2025, 12:50 PM
              0 responses
              19 views
              0 reactions
              Last Post seqadmin  
              Started by seqadmin, 03-03-2025, 01:15 PM
              0 responses
              187 views
              0 reactions
              Last Post seqadmin  
              Working...