Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • 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.

  • #2
    Get rid of the apostrophes.

    Comment


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

      Could you please advise on another solution?

      Thanks.

      Comment


      • #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


        • #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


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

            Comment


            • #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
                Strategies for Sequencing Challenging Samples
                by seqadmin


                Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
                03-22-2024, 06:39 AM
              • seqadmin
                Techniques and Challenges in Conservation Genomics
                by seqadmin



                The field of conservation genomics centers on applying genomics technologies in support of conservation efforts and the preservation of biodiversity. This article features interviews with two researchers who showcase their innovative work and highlight the current state and future of conservation genomics.

                Avian Conservation
                Matthew DeSaix, a recent doctoral graduate from Kristen Ruegg’s lab at The University of Colorado, shared that most of his research...
                03-08-2024, 10:41 AM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by seqadmin, 03-27-2024, 06:37 PM
              0 responses
              12 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 03-27-2024, 06:07 PM
              0 responses
              10 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 03-22-2024, 10:03 AM
              0 responses
              52 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 03-21-2024, 07:32 AM
              0 responses
              68 views
              0 likes
              Last Post seqadmin  
              Working...
              X