Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • ffinkernagel
    replied
    You are mistaken. The reads only contain a number that tells which entry from the header to pick.

    Leave a comment:


  • ddaneels
    replied
    That would be a way to change the header, but if I'm not mistaking the chromosome numbers are also in the actual read-part of the file. So how to change them there?

    Leave a comment:


  • dpryan
    replied
    Look at the samtools reheader command. Presumably you would just "samtools view -H file.bam > header.sam", edit the header, and then use that with reheader.

    Leave a comment:


  • ddaneels
    replied
    This is of course one option ... I'm remapping my data for the moment, but since I have 5 .bam files from exome data, it takes quite some time. So I was looking for a faster option

    Leave a comment:


  • adaptivegenome
    replied
    I think it might be easiest to change the reference fasta file you are using to match the BAM?

    Leave a comment:


  • ddaneels
    started a topic changing chromosome notation in .BAM file

    changing chromosome notation in .BAM file

    Hi everyone,

    I have .bam files in which the chromosomes are notated as '1', '2', '3', ... 'X', 'Y'.
    However, for further analyses I need a .bam file in which the chromosomes are notated as 'chr1', 'chr2', 'chr3', ... 'chrX'. Does someone know a way to do this?

    I thought I might need the substitute (s) command ...

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

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by SEQadmin2, 10-28-2026, 09:57 AM
0 responses
21 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-28-2026, 09:51 AM
0 responses
14 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-22-2026, 11:13 AM
0 responses
67 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-22-2026, 10:48 AM
0 responses
47 views
0 reactions
Last Post SEQadmin2  
Working...