Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rucyfa
    Member
    • May 2010
    • 14

    #1

    For consed, how can i change a fasta file to a fake read?

    I have some fasta file which i download from GENBANK, i want to change it to fake read in order to input to consed v19.0, very appreciate for giving me some information.
  • sklages
    Senior Member
    • May 2008
    • 628

    #2
    As a read, fasta2Phd.perl (1), as a reference to align reads against, fasta2Ace.perl (2).
    Both from Consed Package.

    Mentioned in the docs...
    (1)= 13.4) ADDING READS WITHOUT CHROMATOGRAM FILES
    (2)= 9.66) Convert the fasta file to an assembly by typing

    Sven

    Comment

    • rucyfa
      Member
      • May 2010
      • 14

      #3
      I used "fasta2Phd.perl" to make some file , for exemple "consensus1.phd.1" and put them into "Phd_dir" , how can i use them? it said launch phredphrep.......
      but in witch path? ../chromat_dir or ../phd_dir?
      will i lose the old assemblage?
      i just want to add a fasta sequence as a read.

      Comment

      • sklages
        Senior Member
        • May 2008
        • 628

        #4
        What have you done? What do you want achieve? Your description is poor.

        $ echo consensus1 > fofn.fof

        then "add new reads" in consed witj fofn.fof.

        Sven

        Comment

        • rucyfa
          Member
          • May 2010
          • 14

          #5
          ok, i have some fasta files , i want use them like .ab1 to close my contigs.(for example: consensus1.fasta)

          then i generated a "consensus1.phd.1", next I do not know how to use them the same as I "add new reads" for .ab1 files to consed.

          by you mean i should use command "$ echo consensus1.fasta > consensus1.fof" but not "ls consensus1.fasta > consensus1.fof", then "add new reads".

          is this right?

          Comment

          • sklages
            Senior Member
            • May 2008
            • 628

            #6
            Everything before the extension ".phd.1" is relevant. In your case "consensus1".
            It doesn't matter how you create your input lists; I used 'echo' in this example just because you only mentioned one sequence.

            Have you tried it?

            Sven

            Comment

            • rucyfa
              Member
              • May 2010
              • 14

              #7
              my problem is i don't know where i should put this files.
              in my mind: "consensus1.fasta" should be in "chromat_dir" , "consensus.phd.1" should be in "Phd_dir".
              then start consed--> "add new reads"--> find "consensus1.fof" to add them.
              is this right ?
              i am not in lab, i will try it tomorrow.
              sorry for disturbing you, i am good at windows but i never use linux before, so there is realy so much things i should to learn, thanks for you patience again.

              Comment

              • sklages
                Senior Member
                • May 2008
                • 628

                #8
                The important thing is 'phd_dir'. You don't need the fasta for assembly. If you need a trace file (aka chromatogram) for "editing purposes", use "mktrace" with your fasta file and put the result to 'chromat_dir'.

                cheers,
                Sven

                Comment

                • rucyfa
                  Member
                  • May 2010
                  • 14

                  #9
                  for using "mktrace", for example consenesus1.faste, i used a command line: mktrace consenesus1.faste consenesus1.scf
                  is this right ?

                  Comment

                  • rucyfa
                    Member
                    • May 2010
                    • 14

                    #10
                    in the documentation it said after "mktrace", i would have the perfect peaks, but why in my case there is only quality=15 ?

                    Comment

                    • sklages
                      Senior Member
                      • May 2008
                      • 628

                      #11
                      well, perfect in terms of peak shaping.

                      If you don't like the default value 15, you need to change it in the sources, in mktrace.h:

                      Code:
                      #define BASE_QUALITY 15
                      Set it to another value and recompile ...

                      On the other hand, you just need the SCF file as you have already created the phd file ..

                      Sven

                      Comment

                      • rucyfa
                        Member
                        • May 2010
                        • 14

                        #12
                        thanks a lot.
                        I can't use these SCF as a AB1 file for "add new reads", every time i need use the command "phredPhrap" to reassembly again in order to reload these SCF, but i may loss some ancient scaffords, do you have any idea of this ?

                        Comment

                        • sklages
                          Senior Member
                          • May 2008
                          • 628

                          #13
                          Originally posted by rucyfa View Post
                          thanks a lot.
                          I can't use these SCF as a AB1 file for "add new reads", every time i need use the command "phredPhrap" to reassembly again in order to reload these SCF, but i may loss some ancient scaffords, do you have any idea of this ?
                          What is the problem? I think, I didn't get it.

                          Make a list of your chromats of interest (fofn) and "AddNewReads" from within consed.

                          You should really consider working through the consed tutorial. You need to understand some basic work principles of consed.

                          Sven

                          Comment

                          • rucyfa
                            Member
                            • May 2010
                            • 14

                            #14
                            Is there a rule for naming the SCF files?
                            Very strange,Yesterday, i used 502.fasta to generate a 502.SCF, i can't use "add newreads" ,if not consed will give me a error message.
                            Today,i change the fasta name as YM0AAA09Y019FM1.fasta, then i used mktrace to generate a YM0AAA09Y019FM1.SCF file,I successfully used the "add newreads" function.

                            Comment

                            • sklages
                              Senior Member
                              • May 2008
                              • 628

                              #15
                              Originally posted by rucyfa View Post
                              Is there a rule for naming the SCF files?
                              Very strange,Yesterday, i used 502.fasta to generate a 502.SCF, i can't use "add newreads" ,if not consed will give me a error message.
                              What did it say?

                              Today,i change the fasta name as YM0AAA09Y019FM1.fasta, then i used mktrace to generate a YM0AAA09Y019FM1.SCF file,I successfully used the "add newreads" function.
                              How does your corresponding phd-file look like? What its name?

                              Sven

                              Comment

                              Latest Articles

                              Collapse

                              • SEQadmin2
                                16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
                                by SEQadmin2




                                NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification, detection...
                                Today, 06:46 AM
                              • 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

                              ad_right_rmr

                              Collapse

                              News

                              Collapse

                              Topics Statistics Last Post
                              Started by SEQadmin2, 10-28-2026, 09:57 AM
                              0 responses
                              22 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 10-28-2026, 09:51 AM
                              0 responses
                              14 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 10-22-2026, 11:13 AM
                              0 responses
                              68 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 10-22-2026, 10:48 AM
                              0 responses
                              47 views
                              0 reactions
                              Last Post SEQadmin2  
                              Working...