Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • How to append fasta files

    Hi,

    I have a series of snp and indels (csv format) for which I know the exact location on the the human genome (chromosome# and nucleotide position) and I would like to append the human genome (fasta format) by inserting the snp/indels (from the csv file) at the genomic position describe in the csv file.

    Is anyone can suggest me a computer tool that could help? I have some basic skills (very very basic skills) in programming with python but this one would be too difficult for me to realize.

    Thank you for your help

  • #2
    You're not looking to "append" (which would put this information at the end), but rather simply modify the original (presumably writing the modified version to a new file). An example program would be GATK's FastaAlternateReferenceMaker.

    Comment


    • #3
      Ok. Thank you.

      But the command line to run FastaAlternateReferenceMaker requires a .intervals file (that one has been produced using the GATK pipeline) as input. Also I performed the variant calling using Varscan2. So the number of intervals in the .intervals file doesn't necessarily match the number of variants called by Varscan2. Is it a problem?

      I tried althought the unmatched numbers of variants and intervals, and got this output (it's only a infinite part of it):

      >1
      GC
      >2
      CA
      >3
      AG
      >4
      AAAC
      ...

      I was surprised because I thought that the output would be a fasta file with modified sequences (in my case the input was the full human genome, each sequence being a chromosome)... I ended up with sequences of 2 or few nucleotides long...

      Comment


      • #4
        The interval file just specifies particular ranges to look at. For the whole genome, just specify all of the chromosomes.

        Comment


        • #5
          So for the whole genome, I do not need the .intervals file in the input command line...

          Comment


          • #6
            Whether the command itself will allow it or not I don't know. If it doesn't complain when you just ignore that option then there's presumably no need. Otherwise, just input the bounds of each chromosome (yes, this would seem rather silly).

            Comment

            Latest Articles

            Collapse

            • seqadmin
              Recent Advances in Sequencing Analysis Tools
              by seqadmin


              The sequencing world is rapidly changing due to declining costs, enhanced accuracies, and the advent of newer, cutting-edge instruments. Equally important to these developments are improvements in sequencing analysis, a process that converts vast amounts of raw data into a comprehensible and meaningful form. This complex task requires expertise and the right analysis tools. In this article, we highlight the progress and innovation in sequencing analysis by reviewing several of the...
              05-06-2024, 07:48 AM
            • 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

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, Yesterday, 06:57 AM
            0 responses
            11 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 05-06-2024, 07:17 AM
            0 responses
            15 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 05-02-2024, 08:06 AM
            0 responses
            19 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-30-2024, 12:17 PM
            0 responses
            24 views
            0 likes
            Last Post seqadmin  
            Working...
            X