Announcement

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

  • #16
    Just download the GTF annotation and use gtf2bed from bedops. That should keep the gene names (or some other useful identifier).

    Edit: The GTF annotation is available from the UCSC table browser, in case you weren't aware

    Comment


    • #17
      Originally posted by dpryan View Post
      Just download the GTF annotation and use gtf2bed from bedops. That should keep the gene names (or some other useful identifier).

      Edit: The GTF annotation is available from the UCSC table browser, in case you weren't aware
      Thanks Devon,
      Very helpful so far.
      I downloaded this annotation from ensembl. From biomart i simply left the filters sections empty and used the whole output as my list. This is right, no?

      PS. i just asked a question in biostar about flagstat and it was answered by you i think but i am not sure.

      Comment


      • #18
        If you're aligning against mm10, then don't use an annotation file from Ensembl (the chromosome names are different). That will cause no end of issue If you use the Ensembl annotation, just align against the genome that you can download from Ensembl (the Ensembl annotation is better anyway).

        Yeah, that was probably me, there's a large overlap between the people here and on biostars.

        Comment


        • #19
          I am using mm9. And I downloaded the bowtie index from their webpage. I had to change the chr names as ensembl uses the 1 instead of chr1. But i don't know whether just adding chr in front of the chromosomes names will sort it out. Should I do other changes in addition?

          Comment


          • #20
            That should be sufficient, just make sure that the annotation doesn't mention any chromosomes/contigs missing from the reference fasta file (I can't recall if that's the case or not).

            Comment


            • #21
              Do you mean manually checking if all chromosomes are there? i do not know what contigs are or how to check them.

              I think chrX and Y are missing in the gtf file. But how can I find information for missing chromosomes and complete it?

              Comment


              • #22
                No need to manually do that

                Just:
                Code:
                grep ">" reference.fa
                on the reference fasta file to get a list of the contigs and then:
                Code:
                 cat annotation.gtf | cut -f 1 | sort | uniq
                on the GTF or GFF file. They should be the same, possibly with a different order (and the output from the grep command will all start with ">", which you can ignore).

                Comment


                • #23
                  I did the check.
                  As you suggested the order is different.

                  The only differences are that
                  i have chrM in fa file and MN in the gtf file.
                  Also in the gtf file i have lots of 'NT_123456' type of entries which i do not what it is.

                  Do these differences cause any problem?

                  Comment


                  • #24
                    Originally posted by roll View Post
                    I did the check.
                    As you suggested the order is different.

                    The only differences are that
                    i have chrM in fa file and MN in the gtf file.
                    Also in the gtf file i have lots of 'NT_123456' type of entries which i do not what it is.

                    Do these differences cause any problem?
                    That will generally still cause issues with tophat. If you downloaded your bowtie indices from iGenomes (likely via a link on the bowtie webpage), then they came with an appropriate reference annotation file. Just use that one.

                    Comment


                    • #25
                      Originally posted by dpryan View Post
                      Assuming that you're using the mm10 reference, you can download the repeatmasker output here (mm9 is here). The general idea is to extract the type of feature(s) you want from the repeatmasker .out file and convert that to bed format and use "bedtools intersect ..." to get a count of how many reads align there. There are many other ways to do this, but that should work.

                      In fact, a more straight-forward way might be simply to run cufflinks on your alignments and then intersect the novel transcripts it finds with the repeatmasker output file. That might end up being easier.
                      from the repeat list, i am trying to use the ones on forward strand. do you know how to extract this from the .out file?
                      The column headers are like
                      SW perc perc perc query position in query matching repeat position in repeat
                      score div. del. ins. sequence begin end (left) repeat class/family begin end (left) ID

                      687 17.4 0.0 0.0 chr1 3000002 3000156 (194195276) C L1_Mur2 LINE/L1 (4310) 1567 1413 1
                      917 21.4 11.4 4.5 chr1 3000238 3000733 (194194699) C L1_Mur2 LINE/L1 (4488) 1389 913 1
                      215 3.1 0.0 3.0 chr1 3000734 3000766 (194194666) + (TTTG)n Simple_repeat 2 33 (0) 2

                      Comment

                      Latest Articles

                      Collapse

                      • seqadmin
                        Advanced Methods for the Detection of Infectious Disease
                        by seqadmin




                        The recent pandemic caused worldwide health, economic, and social disruptions with its reverberations still felt today. A key takeaway from this event is the need for accurate and accessible tools for detecting and tracking infectious diseases. Timely identification is essential for early intervention, managing outbreaks, and preventing their spread. This article reviews several valuable tools employed in the detection and surveillance of infectious diseases.
                        ...
                        11-27-2023, 01:15 PM
                      • seqadmin
                        Strategies for Investigating the Microbiome
                        by seqadmin




                        Microbiome research has led to the discovery of important connections to human and environmental health. Sequencing has become a core investigational tool in microbiome research, a subject that we covered during a recent webinar. Our expert speakers shared a number of advancements including improved experimental workflows, research involving transmission dynamics, and invaluable analysis resources. This article recaps their informative presentations, offering insights...
                        11-09-2023, 07:02 AM

                      ad_right_rmr

                      Collapse

                      News

                      Collapse

                      Topics Statistics Last Post
                      Started by seqadmin, 11-27-2023, 08:12 AM
                      0 responses
                      16 views
                      0 likes
                      Last Post seqadmin  
                      Started by seqadmin, 11-22-2023, 09:29 AM
                      1 response
                      53 views
                      0 likes
                      Last Post VilliamPast  
                      Started by seqadmin, 11-22-2023, 08:53 AM
                      0 responses
                      64 views
                      0 likes
                      Last Post seqadmin  
                      Started by seqadmin, 11-21-2023, 08:24 AM
                      0 responses
                      32 views
                      0 likes
                      Last Post seqadmin  
                      Working...
                      X