Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • marlaux
    Junior Member
    • Oct 2014
    • 3

    #1

    Help with custom database of a genera and count of hits (NGS, 454)

    Hello biologists and bioinformaticians around the world!

    I'm having serious problems to accomplish a task.

    I need to perform a megablast search from metagenomic reads (454) in order to determine the number of hits and extract the reads that mached the reference sequences of a specific genera.

    Performing this, I need to compare the results with Bowtie2.

    The first goal is choose between megablast and Bowtie, through number of hits.

    The second goal is remove these sequences, which belong to this specific genera, from the original set of reads, in order to analyze the community with and without this genera.

    First of all I tried to construct my custom database for megablast.

    I downloaded from NCBI the list of fasta sequences and the list of GI's from my genera.

    Next step was to try run the formatdb for custom databases. My code was:

    1. formatdb -i nt -o T -p F ---> format the original database with parsing active --> it's OK

    2. formatdb -F microcystis_gis.txt -B mic_gis.gi --> format my GI list to binary format --> it's OK

    3. formatdb -i nt -p F -L mic_gi -F mic_gis.gi -t my_mic_db --> format database generating a alias for my GI list

    Here I have no success, the error was: [formatdb] FATAL ERROR: Unable to find mic_gis.gi

    4. formatdb -i microcystis_fasta.fasta -p F -n mic_db --> no success again

    Then I tried fastacmd:

    5. fastacmd -d nt -p F -i microcystis_gis.txt -D 1 -o microcystis.fasta ---> after a long time of processing, the result was a file with all the sequences, there was'nt the GI's filtering.

    Then I tried makeblastdb:

    6. makeblastdb -in microcystis_fasta.fasta -dbtype 'nucl' –parse_seqids -title microcystis_db

    and the error was: Error: Too many positional arguments (1), the offending value: –parse_seqids

    I think that my problem can be the format of my input files. Maybe the header of my microcystis_fasta.fasta isn't correct, here it is:

    >gi|469475955|gb|KC166868.1| Shewanella putrefaciens strain DCH-5 16S ribosomal RNA gene, partial sequence
    GTTACCTACAGAAGAAGGACCGGCTAACTCCGTGCCAGCAGCCGCGGTAATACGGAGGGTCCGAGCGTTA
    ATCGGAATTACTGGGCGTAAAGCGTGCGCAGGCGGTTTGTTAAGCGAGATGTGAAAGCCCTGGGCTC......

    and this file is with a empty line between each new sequence.

    My GI list and my fasta file are the ones downloaded from NCBI, I dont understand how they can be in a wrong format.... Maybe it is necessary to change this files in some way? I can do this by Perl script, but I was wondering if you can tell something more effective before.

    By constructing my database for Bowtie2, it worked, but with this warning:

    Warning: Encountered empty reference sequence

    But, as usually, Bowtie2 performed fine and worked.....

    I think that this warning is a indication that there is something wrong with the format of my reference fasta file.

    Thank you everyone, Brazilian greetings!!
  • Anna2015
    Junior Member
    • Jul 2015
    • 1

    #2
    Hi Marlaux,

    I am having a similar issue. I am trying to align synthetic sequences to a library of sequences. I made a fasta file, and just like you I have a space between 2 sequences. When I index, I get the message 'Warning: encountered empty reference sequence'. But Bowtie works in using this index to map to my reference.

    I was wondering if you figured out what this error message means, and what the solution to this is. Any input from you is appreciated.

    Thanks in advance!

    Comment

    • marlaux
      Junior Member
      • Oct 2014
      • 3

      #3
      Hello Anna, look it here:

      https://www.biostars.org/p/124159/#124276

      Good luck!

      Comment

      Latest Articles

      Collapse

      • SEQadmin2
        Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
        by SEQadmin2



        Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

        Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
        ...
        10-14-2026, 09:55 AM
      • SEQadmin2
        New Genomics Technologies Take Aim at Long-Standing Limits
        by SEQadmin2


        Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

        We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
        ...
        09-28-2026, 10:25 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 10-22-2026, 11:13 AM
      0 responses
      32 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-22-2026, 10:48 AM
      0 responses
      23 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-15-2026, 10:52 AM
      0 responses
      40 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-14-2026, 05:39 AM
      0 responses
      45 views
      0 reactions
      Last Post SEQadmin2  
      Working...