Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Originally posted by lhlbio View Post
    hi,
    very thanks for that ,now I have BAM files and how can I extracting exon reads from BAM using Samtools?
    any ideas will be awesome!


    Thanks,
    huili

    I assume that you have aligned reads to the whole genome, and now want to filter for only those reads that hit exons?

    Get a .bed file of exon boundaries, and use BEDTools intersectBed to filter the .bam;

    Comment


    • #17
      Originally posted by swbarnes2 View Post
      I assume that you have aligned reads to the whole genome, and now want to filter for only those reads that hit exons?

      Get a .bed file of exon boundaries, and use BEDTools intersectBed to filter the .bam;
      Yes, some exom sequencing are what I have done ,now I can try to filter my exom reads by applying your command ,but I havn't use BEDTools before ! now I must learn someting !
      thanks very much!

      Comment


      • #18
        Originally posted by cwisch88 View Post
        lhlbio,

        If you have the annotations for your reference you can collect them all in the: 'chr1:start-end' format and then run this command:

        samtools view aln.sorted.bam chr2:20,100,000-20,200,000 [region2 [...]]

        If that doesn't work because there are too many arguments; I'd do each one separately in a shell script and then 'samtools merge' the results.
        very thanks, I use the command "samtools view aln.sorted.bam chr2:20,100,000-20,200,000 [region2 [...]]",and it does work,but I can't understand it on the screen of linux operation interface.
        if I can write it into some files as using "R" do? or other methods ? any help will be appreciated!

        Comment

        Latest Articles

        Collapse

        • seqadmin
          Best Practices for Single-Cell Sequencing Analysis
          by seqadmin



          While isolating and preparing single cells for sequencing was historically the bottleneck, recent technological advancements have shifted the challenge to data analysis. This highlights the rapidly evolving nature of single-cell sequencing. The inherent complexity of single-cell analysis has intensified with the surge in data volume and the incorporation of diverse and more complex datasets. This article explores the challenges in analysis, examines common pitfalls, offers...
          06-06-2024, 07:15 AM
        • seqadmin
          Latest Developments in Precision Medicine
          by seqadmin



          Technological advances have led to drastic improvements in the field of precision medicine, enabling more personalized approaches to treatment. This article explores four leading groups that are overcoming many of the challenges of genomic profiling and precision medicine through their innovative platforms and technologies.

          Somatic Genomics
          “We have such a tremendous amount of genetic diversity that exists within each of us, and not just between us as individuals,”...
          05-24-2024, 01:16 PM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, Yesterday, 06:58 AM
        0 responses
        13 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 06-06-2024, 08:18 AM
        0 responses
        20 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 06-06-2024, 08:04 AM
        0 responses
        18 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 06-03-2024, 06:55 AM
        0 responses
        13 views
        0 likes
        Last Post seqadmin  
        Working...
        X