Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Giffredo
    Member
    • Feb 2014
    • 36

    #16
    I am very interested on this discussion..
    Can Pysamstats give me the difference between reds (forward or reverse)?

    I need a table with these informations:

    Code:
    Chr/position/reference_base/read_base (number or %(A,C,G,T) found in forward or reverse strand)/insertion/deletion
    
    Example:
    
    chr1 20 A A:30 C:20 G:0 T:0 a:0 c:0 g:0 t:0 Ins:0 del:0
    IGV give me something like this when I put the arrow of the mouse over a read but I need of a table...

    Comment

    • dariober
      Senior Member
      • May 2010
      • 311

      #17
      Originally posted by Giffredo View Post
      I am very interested on this discussion..
      Can Pysamstats give me the difference between reds (forward or reverse)?
      Use variation_strand instead of variation. From the manual (https://pypi.python.org/pypi/pysamstats)

      * variation_strand - as variation but with forward/reverse strand counts

      Comment

      • Giffredo
        Member
        • Feb 2014
        • 36

        #18
        Unfortunately I cannot install pysamstat package..
        So, Is it possible to reach the same results using GATK for you?.. looking at the tutorial I think it cannot discriminate the variation in one strand from the other.

        Comment

        • dariober
          Senior Member
          • May 2010
          • 311

          #19
          Originally posted by Giffredo View Post
          Unfortunately I cannot install pysamstat package..
          What problems do you encounter? Installation errors or permissions?
          pysamstats depends on numpy and pysam which can be tricky to install but it should be possible.

          Comment

          • Giffredo
            Member
            • Feb 2014
            • 36

            #20
            I have not any idea.. I cannot install anything in this Lab. there is an expert for this and he told me that is not possible. I guess it is a problem about compatibility..

            Comment

            • TiborNagy
              Senior Member
              • Mar 2010
              • 329

              #21
              My personal opinion:
              impossible == I am too lazy

              The differences between -z and -w:
              -z is just a memory optimization parameter. If you reduce the zoom level, you reduce the memory usage of the process
              -w The window size where the coverage will be calculated. If it is 25, it means you get coverage values for every 25 bp length slice.

              As far as I know GATK can not produce stats like this.

              Comment

              • Giffredo
                Member
                • Feb 2014
                • 36

                #22
                Ok, I understood... In which way I could discriminate the splicing site osing pysamstat output?
                I would see the deletion sites present on my reads and not present on the references and I would check the presence of the classic splicing site bases...
                I m right or there are others easier methods?

                Comment

                • Giffredo
                  Member
                  • Feb 2014
                  • 36

                  #23
                  When I insert this code
                  Code:
                  pysamstats -f x.fas --type variation_strand mapq_strand  x.sorted.bam > stat_pyout.txt&
                  Py gives me this error:
                  pysamstats: error: missing file operand

                  What it means?

                  instead using:

                  Code:
                  pysamstats -f x.fas --type variation_strand x.sorted.bam > pyout.txt&
                  Py works well...

                  What am I forgetting?

                  Comment

                  • spacup
                    Member
                    • Apr 2013
                    • 17

                    #24
                    IGV tdf file

                    Hi all,

                    About coverage file from IGV, I generated a .tdf file with count in IGV with a bin of 25 bases.

                    When I visualize under IGV, I have values for exemple 145,76 for a bin.
                    If I multiply by 25, I obtain 3644 for this bin.

                    Now, when I zoom and obtain the coverage track calculated by IGV from .bam file, I see that I have about 33 reads by base so about 825 reads on the bin.

                    So seeing this difference, my question is : does someone know how coverage is calculted in IGV's .tdf files?

                    thanks!

                    Comment

                    • dariober
                      Senior Member
                      • May 2010
                      • 311

                      #25
                      Originally posted by Giffredo View Post
                      When I insert this code
                      Code:
                      pysamstats -f x.fas --type variation_strand mapq_strand  x.sorted.bam > stat_pyout.txt&
                      Py gives me this error:
                      pysamstats: error: missing file operand

                      What it means?

                      instead using:

                      Code:
                      pysamstats -f x.fas --type variation_strand x.sorted.bam > pyout.txt&
                      Py works well...

                      What am I forgetting?
                      You should pass only one option to the argument --type. So either variation_strand or mapq_strand, not both.

                      Comment

                      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
                      • SEQadmin2
                        New Genomics Technologies Take Aim at Long-Standing Limits
                        by SEQadmin2


                        Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

                        We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
                        ...
                        09-28-2026, 10:25 AM

                      ad_right_rmr

                      Collapse

                      News

                      Collapse

                      Topics Statistics Last Post
                      Started by SEQadmin2, 10-15-2026, 10:52 AM
                      0 responses
                      27 views
                      0 reactions
                      Last Post SEQadmin2  
                      Started by SEQadmin2, 10-14-2026, 05:39 AM
                      0 responses
                      34 views
                      0 reactions
                      Last Post SEQadmin2  
                      Started by SEQadmin2, 10-13-2026, 09:56 AM
                      0 responses
                      31 views
                      0 reactions
                      Last Post SEQadmin2  
                      Started by SEQadmin2, 10-09-2026, 11:14 AM
                      0 responses
                      29 views
                      0 reactions
                      Last Post SEQadmin2  
                      Working...