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
                        Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
                        by SEQadmin2



                        CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

                        Despite this, “CRISPR helped turn genome editing from a specialized technique into
                        ...
                        07-31-2026, 11:01 AM
                      • SEQadmin2
                        Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
                        by SEQadmin2


                        Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

                        The systematic characterization of the human proteome has
                        ...
                        07-20-2026, 11:48 AM

                      ad_right_rmr

                      Collapse

                      News

                      Collapse

                      Topics Statistics Last Post
                      Started by SEQadmin2, 08-06-2026, 07:41 AM
                      0 responses
                      16 views
                      0 reactions
                      Last Post SEQadmin2  
                      Started by SEQadmin2, 08-03-2026, 10:13 AM
                      0 responses
                      33 views
                      0 reactions
                      Last Post SEQadmin2  
                      Started by SEQadmin2, 07-31-2026, 02:55 AM
                      0 responses
                      42 views
                      0 reactions
                      Last Post SEQadmin2  
                      Started by SEQadmin2, 07-24-2026, 12:17 PM
                      0 responses
                      26 views
                      0 reactions
                      Last Post SEQadmin2  
                      Working...