Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Gigiux
    Junior Member
    • Nov 2015
    • 4

    #1

    Failure in running BWA on human fusion genome

    Dear all,
    I have prepared a fusion genome by concatenating the human genome available here:

    and a virus genome obtained by merging several individual virus genomes together. The headers of the NCBI genome are like this:

    Code:
    >chr1  AC:CM000663.2  gi:568336023  LN:248956422  rl:Chromosome  M5:6aef897c3d6ff0c78aff06ac189178dd  AS:GRCh38
    >chr2  AC:CM000664.2  gi:568336022  LN:242193529  rl:Chromosome  M5:f98db672eb0993dcfdabafe2a882905c  AS:GRCh38
    >chr3  AC:CM000665.2  gi:568336021  LN:198295559  rl:Chromosome  M5:76635a41ea913a405ded820447d067b0  AS:GRCh38
    [...]
    
    >chrUn_GL000218v1  AC:GL000218.1  gi:224183305  LN:161147  rl:unplaced  M5:1d708b54644c26c7e01c2dad5426d38c  AS:GRCh38
    >chrEBV  AC:AJ507799.2  gi:86261677  LN:171823  rl:decoy  M5:6743bd63b3ff2b5b8985d8933c53290a  SP:Human_herpesvirus_4  tp:circular
    Thus I prepared the header of my sequence as:

    Code:
    >chrV  AC:XXXXXXXX.1  gi:00000000  LN:370064105  rl:Chromosome   M5:5aa5be7025d7baa666a8651e0909e4ce  AS:1  SP:All_viruses  tp:linear
    before concatenating with the NCBI's.

    I prepared the indices with
    Code:
    bwa index fusion.fa
    and then ran the alignment with
    Code:
    bwa mem -t 8 -R $rd_grp $Fusion $R1 $R2 | samtools sort -o ${out}SRT.sam
    where $rd is the read group header,
    $Fusion is the path to the fusion.fa reference,
    $R1/2 are the fastq files of interest and
    ${out}SRT.sam is the alignment output.

    However, I got this error:
    Code:
    [bns_restore_core] Parse error reading /.../fusion.fa.amb
    On internet I found that the error might be due to spaces in the sequence, so I applied:

    Code:
    sed -i 's/\s*$//g' fusion.fa
    sed -i 's/^[^>]\s*$//g' fusion.fa
    and also
    Code:
    printf "chrV \tAC:XXXXXXXX.1\tgi:00000000\tLN:370064105\trl:Chromosome   M5:5aa5be7025d7baa666a8651e0909e4ce\tAS:1\tSP:All_viruses\ttp:linear" > fusion.fa
    on the idea that the fields cuold be tab delimited. The error persisted with each version.

    May I ask you if you have some hint on this error and how to sort it out.
    Thank you.

Latest Articles

Collapse

  • SEQadmin2
    16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
    by SEQadmin2




    NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification, detection...
    Today, 06:46 AM
  • 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

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by SEQadmin2, 10-28-2026, 09:57 AM
0 responses
23 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-28-2026, 09:51 AM
0 responses
15 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-22-2026, 11:13 AM
0 responses
68 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-22-2026, 10:48 AM
0 responses
48 views
0 reactions
Last Post SEQadmin2  
Working...