Seqanswers Leaderboard Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • GenoMax
    replied
    TopHat is picky about the order of options on the command line. Can you try the following:

    Code:
    $ tophat -o cp04_thout5 -p 2 -G caref_seq.gff caref_ncbiall cp04.fastq
    Let me also verify that the basename for your genome index files is "caref_ncbiall", that is there are several files (that comprise of the index) that have that prefix?

    Leave a comment:


  • varshacp
    replied
    Hi

    I forgot to mention that the fastq file is also in same directory. The gff file and genome sequences were downloaded from NCBI (NCBI has separate fasta file for each chromosomes and all the unplaced scafolds are in one fasta file. I concatenated these files to make the genome file and renamed it as per the gff file. The same gff file is working with other genome sequence file which does not have unplaced sequences.


    Thank you

    Varsha

    Leave a comment:


  • varshacp
    replied
    Hi GenoMAx

    All the files are in the same directory. I also made sure that the names are same in gff and genome file.


    Thank you

    Varsha

    Leave a comment:


  • GenoMax
    replied
    I did not pay close attention to your original question (i.e. you are getting the error while running tophat itself and not the actual script). My fault.

    Let us start over.

    Is caref_ncbiall available in the same directory that you are running tophat from? If not, can you provide the full path to that file when you execute tophat. The same should apply to cp04.fastq and caref_seq.gff. Also make certain that your gff file matches the format specification as noted here: http://cufflinks.cbcb.umd.edu/gff.html
    Last edited by GenoMax; 04-30-2014, 04:00 PM.

    Leave a comment:


  • varshacp
    replied
    Hi Genomax

    Thank you for your reply.

    I am not sure I can change the permissions or move to some other directory to which I have read and write permissions as the output directory "cp04_thout5" is created while the tophat is executing (tophat -p 2 -G caref_seq.gff -o cp04_thout5 caref_ncbiall cp04.fastq)


    I do not get this message with other genome sequence file.

    I checked the caref_ncbiall file and could not find any error in it.

    Kindly help to solve it


    Thank you

    Varsha

    Leave a comment:


  • GenoMax
    replied
    Varsha: You do not appear to have write permissions to "cp04_thout5" and every directory below it (cp04_thout5/tmp would not work).

    Replace that section (cp04_thout5/..) with a directory that you are able to write to.

    Leave a comment:


  • varshacp
    replied
    Error (GFaSeqGet) opening file 'caref_ncbiall.fa'

    Hi Am running the tophat with following command

    tophat -p 2 -G caref_seq.gff -o cp04_thout5 caref_ncbiall cp04.fastq
    and getting the error

    Error: gtf_to_fasta returned an error
    When I check the run.log file and copy paste the following command

    [e09812@unixprdap218 logs]$ /opt/tophat/bin/gtf_to_fasta --min-anchor 8 --splice-mismatches 0 --min-report-intron 50 --max-report-intron 500000 --min-isoform-fraction 0.15 --output-dir cp04_thout5/ --max-multihits 20 --max-seg-multihits 40 --segment-length 25 --segment-mismatches 2 --min-closure-exon 100 --min-closure-intron 50 --max-closure-intron 5000 --min-coverage-intron 50 --max-coverage-intron 20000 --min-segment-intron 50 --max-segment-intron 500000 --read-mismatches 2 --read-gap-length 2 --read-edit-dist 2 --read-realign-edit-dist 3 --max-insertion-length 3 --max-deletion-length 3 -z gzip -p2 --gtf-annotations caref_seq.gff --gtf-juncs cp04_thout5/tmp/caref_seq.juncs --no-closure-search --no-coverage-search --no-microexon-search caref_seq.gff caref_ncbiall.fa cp04_thout5/tmp/caref_seq.fa

    I get the following message
    Error (GFaSeqGet) opening file 'caref_ncbiall.fa'

    Kindly help

    Thankx in advance

    Varsha

    Leave a comment:


  • GenoMax
    replied
    Originally posted by varshacp View Post
    Hi Genomax

    Thank you for your reply. Yes there is a logs directory and I do not have permission to write for it only read and execute.

    Thank you
    Varsha: Just replace the "cp04_thout1/logs/" part with a directory name that you can write to and give it a try.

    Leave a comment:


  • varshacp
    replied
    Hi Genomax

    Thank you for your reply. Yes there is a logs directory and I do not have permission to write for it only read and execute.




    Thank you

    Leave a comment:


  • GenoMax
    replied
    Originally posted by varshacp View Post
    Hi

    When I copy paste it on terminal
    I get -bash: cp04_thout1/logs/g2f.out: No such file or directory

    Kindly help

    Thankx in advance
    Is there a directory called "logs" under cp04_thout1? If there is, do you have permissions to write to that directory?

    Leave a comment:


  • varshacp
    replied
    Error: gtf_to_fasta returned an error

    Hi

    I am getting the following error
    Error: gtf_to_fasta returned an error

    as mentioned in the previous blogs I checked the names in annotation gff file, genome sequence file as well as the bowtie index file, it is same Here is the run log

    /opt/tophat/bin/gtf_to_fasta --min-anchor 8 --splice-mismatches 0 --min-report-intron 50 --max-report-intron 500000 --min-isoform-fraction 0.15 --output-dir cp04_thout1/ --max-multihits 20 --max-seg-multihits 40 --segment-length 25 --segment-mismatches 2 --min-closure-exon 100 --min-closure-intron 50 --max-closure-intron 5000 --min-coverage-intron 50 --max-coverage-intron 20000 --min-segment-intron 50 --max-segment-intron 500000 --read-mismatches 2 --read-gap-length 2 --read-edit-dist 2 --read-realign-edit-dist 3 --max-insertion-length 3 --max-deletion-length 3 -z gzip -p2 --gtf-annotations ref_ASM33114v1_top_level_edited3.gff3 --gtf-juncs cp04_thout1/tmp/ref_ASM33114v1_top_level_edited3.juncs --no-closure-search --no-coverage-search --no-microexon-search ref_ASM33114v1_top_level_edited3.gff3 caref_all.fa cp04_thout1/tmp/ref_ASM33114v1_top_level_edited3.fa > cp04_thout1/logs/g2f.out

    When I copy paste it on terminal
    I get -bash: cp04_thout1/logs/g2f.out: No such file or directory

    Kindly help

    Thankx in advance

    Leave a comment:


  • sphil
    replied
    hey i checked it, since the index file has different names your reference sequence has also different names. I guess you need to change this as well or, change the tags in your GTF so that the tags in your sequence reference as well as in your index can stay the same!

    keep me posted

    Leave a comment:


  • sphil
    replied
    hmm that's strange, normally that fixes the problem. No clue whats going on than, myb send an E-Mail to the Mailing list or one of the authors to get help...

    Leave a comment:


  • hathiram2
    replied
    Thanks dpryan,

    I am also getting your reply in another thredd
    please see the link

    Discussion of next-gen sequencing related bioinformatics: resources, algorithms, open source efforts, etc

    Leave a comment:


  • dpryan
    replied
    You can look in the run log for the exact command that's being run and then run it to get the exact error message that's being thrown.

    Leave a 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
16 views
0 reactions
Last Post seqadmin  
Started by seqadmin, 03-19-2025, 07:27 AM
0 responses
17 views
0 reactions
Last Post seqadmin  
Started by seqadmin, 03-18-2025, 12:50 PM
0 responses
18 views
0 reactions
Last Post seqadmin  
Started by seqadmin, 03-03-2025, 01:15 PM
0 responses
185 views
0 reactions
Last Post seqadmin  
Working...