Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Etherella
    Member
    • Aug 2012
    • 20

    Converting GEO database TXT format to fasta

    Hello!

    I'm new to bioinformatics, but I need to perform an analysis of some sort.

    I've downloaded data from GEO database it's a large TXT file consisting of many lines that look this way : SCS_0004:2:1:1053:18066#0/1 AGCAATATTGACTACANCCTCATCAAAGCCTGTAGGCACC [YITQR]MST\WN\\TEQU[`]WU]]WPYXXXOXU]`\W` 5 29 29 chr17:68048647-68172163_36129 3979 + 1 1

    I need to align those short sequences to a mouse chromosome, and I'm using bowtie under windows.

    But the problem is , bowtie doesn't work with this format, can you recommend an easy-to-use tool for windows to convert this format into fasta or just raw?
  • vivek_
    PhD Student
    • Jul 2012
    • 164

    #2
    This could be done with the unix command line but it would be helpful if you can post a few lines enclosed within code brackets like
    Code:
    paste here
    to get a precise idea of the file format.

    Comment

    • Etherella
      Member
      • Aug 2012
      • 20

      #3
      Originally posted by vivek_ View Post
      This could be done with the unix command line but it would be helpful if you can post a few lines enclosed within code brackets like
      Code:
      paste here
      to get a precise idea of the file format.
      Code:
      SCS_0004:2:1:1053:18066#0/1	AGCAATATTGACTACANCCTCATCAAAGCCTGTAGGCACC	[YITQR]MST\WN\\TEQU[`]WU]]WPYXXXOXU]`\W`	5	29	29	chr17:68048647-68172163_36129	3979	+	1	1
      SCS_0004:2:1:1053:18066#0/1	AGCAATATTGACTACANCCTCATCAAAGCCTGTAGGCACC	[YITQR]MST\WN\\TEQU[`]WU]]WPYXXXOXU]`\W`	5	29	29	chr17:68048647-68172163_36130	3979	+	1	1
      SCS_0004:2:1:1053:18066#0/1	AGCAATATTGACTACANCCTCATCAAAGCCTGTAGGCACC	[YITQR]MST\WN\\TEQU[`]WU]]WPYXXXOXU]`\W`	5	29	29	uc008dkh.1	4033	+	1	1
      SCS_0004:2:1:1053:18066#0/1	AGCAATATTGACTACANCCTCATCAAAGCCTGTAGGCACC	[YITQR]MST\WN\\TEQU[`]WU]]WPYXXXOXU]`\W`	5	29	29	chr17:68046720-68172163_36128	3943	+	1	1
      SCS_0004:2:1:1053:18066#0/1	AGCAATATTGACTACANCCTCATCAAAGCCTGTAGGCACC	[YITQR]MST\WN\\TEQU[`]WU]]WPYXXXOXU]`\W`	5	29	29	chr17:68046720-68172163_36127	3943	+	1	1
      SCS_0004:2:1:1054:5070#0/1	TTTCTCTGTCTTGTCCNCCTAGTTTCCCTCCTGTAGGCAC	aaaaaaaaaaaaaaa]EaaaW]]]Yaa\a`[aa]Pa^]VT	2	30	30	chr2:40378133-40378584_42654	395	-	1	1
      SCS_0004:2:1:1054:5070#0/1	TTTCTCTGTCTTGTCCNCCTAGTTTCCCTCCTGTAGGCAC	aaaaaaaaaaaaaaa]EaaaW]]]Yaa\a`[aa]Pa^]VT	2	30	30	chr1:8926487-8927380_99	16	+	1	1
      Something like this. By the way, I don't have unix installed only Mac OS and windows, but as far as I understand Mac OS is a unix-based system, right?
      Last edited by Etherella; 08-30-2012, 03:03 AM.

      Comment

      • dpryan
        Devon Ryan
        • Jul 2011
        • 3478

        #4
        The easiest way would be to write a small script (in python, perl, whatever) to read that in and spit out the same data (sans alignment information) in fastq format. Column 1 is the read id, column 2 is the sequence, and column 3 is the quality score. If you have python installed on your Mac, then the following would probably work (changing INPUT_FILENAME to the name of the file you got from GEO and SOME_OUTPUT_FILE to whatever you want the output to be):
        Code:
        #!/usr/bin/python
        import csv
        
        f = csv.reader(open("INPUT_FILENAME", "r"), dialect="excel-tab")
        output = open("SOME_OUTPUT_FILE", "w")
        
        last = ""
        for line in f :
            if(line[0] != last) :
                output.write(">%s\n" % (line[0]))
                output.write("%s\n" % (line[1]))
                output.write("+\n") 
                output.write("%s\n" % (line[2]))
                last = line[0]
        output.close()
        Something like that would probably work.

        Comment

        • Etherella
          Member
          • Aug 2012
          • 20

          #5
          thanks for the reply, I managed to get it working through galaxy.

          Comment

          Latest Articles

          Collapse

          • mylaser
            Reply to Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
            by mylaser
            Kheloyaar: The Complete Guide to Kheloyaar Loginand Kheloyaar ID
            The online gaming industry has transformed the way people enjoy digital entertainment. As technology continues to improve, players are looking for platforms that offer convenience, security, and a seamless user experience. Kheloyaarhas gained attention among users who value an easy-to-use platform, quick account access, and a simple registration process.
            Whether you're exploring Kheloyaar for the first time or want to understand...
            Yesterday, 09:27 PM
          • SEQadmin2
            Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
            by SEQadmin2



            Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
            ...
            Yesterday, 11:10 AM
          • SEQadmin2
            Cancer Drug Resistance: The Lingering Barrier to Rising Survival
            by SEQadmin2



            Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

            There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
            07-08-2026, 05:17 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, Yesterday, 10:04 AM
          0 responses
          8 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-08-2026, 10:08 AM
          0 responses
          7 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-07-2026, 11:05 AM
          0 responses
          11 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-02-2026, 11:08 AM
          0 responses
          31 views
          0 reactions
          Last Post SEQadmin2  
          Working...