Originally posted by bioinfo816
View Post
Unconfigured Ad
Collapse
X
-
A more lazy alternative as suggested by swbarnes2 in this thread: http://seqanswers.com/forums/showthread.php?t=14702
-
You should start a new thread.Originally posted by bioinfo816 View PostI need suggestion to extract the chromosome or chromosome region (e.g. chr1: 100,000,000-200,000,000) without sorting bam file. Any idea related with this would be appreciated.
Having said that, a small python/perl/whatever script could do this (you could even put together a shell script, if you're so inclined). Just filter the output of samtools view through it.Last edited by dpryan; 09-24-2013, 05:27 AM.
Leave a comment:
-
chromosome extraction without sorting
I need suggestion to extract the chromosome or chromosome region (e.g. chr1: 100,000,000-200,000,000) without sorting bam file. Any idea related with this would be appreciated.
Leave a comment:
-
In a BAM file, the actual chromosome name is only stored in the header (each read has an associated index number that is used by samtools or other programs to get the actual name of the chromosome/contig).
If you have a SAM file then this won't work, you'll have to write a little script in python/perl/whatever.
Leave a comment:
-
Thanks,
I thought that samtools reheader only changes the actual header info, but what about in all of the individual alignments? I do know that the same genome build was used for everything so that shouldn't be too much of a problem.
Leave a comment:
-
You can use samtools reheader. Just samtools view -H file.bam > header.sam, then edit that to include the "chr" (don't change the ordering, though!). You can then use that for the reheader command. This assumes, of course, that this is the only difference between the genomes.
Leave a comment:
-
the "chr" in the chromosome name
Hi,
I have been given a few exome datasets (already mapped and I don't have the fastq files). The problem is that when these were mapped, they used a reference annotation that did not have the "chr" in with the chromosome ID. All of my other exomes that I have do have this annotation. As you can image, this is being a little problamatic when I am trying to do the analysis with all of the samples at the same time. Is there a simple way to add the "chr" to these samples without having to do all of the remapping?
Thanks
Latest Articles
Collapse
-
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...-
Channel: Articles
Today, 06:46 AM -
-
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...-
Channel: Articles
10-14-2026, 09:55 AM -
ad_right_rmr
Collapse
News
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Genome Sequencing Reveals Large, Repeat-Rich DNA in Trapdoor Spider Named for Stephen Colbert
by SEQadmin2
Started by SEQadmin2, 10-28-2026, 09:57 AM
|
0 responses
24 views
0 reactions
|
Last Post
by SEQadmin2
10-28-2026, 09:57 AM
|
||
|
Started by SEQadmin2, 10-28-2026, 09:51 AM
|
0 responses
15 views
0 reactions
|
Last Post
by SEQadmin2
10-28-2026, 09:51 AM
|
||
|
Started by SEQadmin2, 10-22-2026, 11:13 AM
|
0 responses
70 views
0 reactions
|
Last Post
by SEQadmin2
10-22-2026, 11:13 AM
|
||
|
Started by SEQadmin2, 10-22-2026, 10:48 AM
|
0 responses
48 views
0 reactions
|
Last Post
by SEQadmin2
10-22-2026, 10:48 AM
|
Leave a comment: