Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • Is there a utility to detect how sff files are compressed?

    Hi all. My lab partner has given me some sff files to work with, file name format NAME.sff.

    They seem to be compressed- the biopieces command read_sff does not work with them, and when I try to look at the files I get a warning that they may be in binary format, then when the file is open I see only gibberish.

    How can I tell how they were compressed? there is nothing in the file name to indicate that the files are compressed, or how. My lab partner is off on vacation and I can't reach him, so I have no way to know if he took off a file extension or used some kind of compression software before he gave me these files. Is there a utility that can help with this? I also have fasta and qual files I can work with that seem uncompressed, but I would prefer to use the sff files since the read_sff command in biopieces allows for automatic trimming of adapter keys using the -c option, and that would be pretty nice.

  • #2
    sff files are binary encoded but not compressed.

    Read about sff files here.

    If Biopieces read_sff fail it may very well indicate a corrupt file. You can test if the file is compressed with the UNIX command "file". On my system this shows:

    Code:
    maasha@mel:~$ file test.sff.gz 
    test.sff.gz: gzip compressed data, was "test.sff", from Unix, last modified: Tue Feb  8 20:46:46 2011
    maasha@mel:~$ gunzip test.sff.gz 
    maasha@mel:~$ file test.sff 
    test.sff: data

    Comment


    • #3
      Thanks a lot- the file does seem to be corrupt (I tried a different sff file and it was read OK by read_sff, so it may just be the one file) and not compressed. This makes sense now.

      Comment


      • #4
        I'd look at the first few bytes with hexdump - that is enough to spot commonly used compression formats, or if it is an SFF file.

        Comment

        Latest Articles

        Collapse

        • seqadmin
          Essential Discoveries and Tools in Epitranscriptomics
          by seqadmin




          The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
          04-22-2024, 07:01 AM
        • seqadmin
          Current Approaches to Protein Sequencing
          by seqadmin


          Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
          04-04-2024, 04:25 PM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, Today, 08:47 AM
        0 responses
        10 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-11-2024, 12:08 PM
        0 responses
        60 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-10-2024, 10:19 PM
        0 responses
        57 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-10-2024, 09:21 AM
        0 responses
        53 views
        0 likes
        Last Post seqadmin  
        Working...
        X