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
                Advancing Precision Medicine for Rare Diseases in Children
                by seqadmin




                Many organizations study rare diseases, but few have a mission as impactful as Rady Children’s Institute for Genomic Medicine (RCIGM). “We are all about changing outcomes for children,” explained Dr. Stephen Kingsmore, President and CEO of the group. The institute’s initial goal was to provide rapid diagnoses for critically ill children and shorten their diagnostic odyssey, a term used to describe the long and arduous process it takes patients to obtain an accurate...
                12-16-2024, 07:57 AM
              • seqadmin
                Recent Advances in Sequencing Technologies
                by seqadmin



                Innovations in next-generation sequencing technologies and techniques are driving more precise and comprehensive exploration of complex biological systems. Current advancements include improved accessibility for long-read sequencing and significant progress in single-cell and 3D genomics. This article explores some of the most impactful developments in the field over the past year.

                Long-Read Sequencing
                Long-read sequencing has seen remarkable advancements,...
                12-02-2024, 01:49 PM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by seqadmin, 12-17-2024, 10:28 AM
              0 responses
              25 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 12-13-2024, 08:24 AM
              0 responses
              42 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 12-12-2024, 07:41 AM
              0 responses
              28 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 12-11-2024, 07:45 AM
              0 responses
              42 views
              0 likes
              Last Post seqadmin  
              Working...
              X