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
              Advancing Precision Medicine for Rare Diseases in Children
              by seqadmin




              Many organizations study rare diseases, but few have a mission as impactful as Rady Children’s Institute for Genomic Medicine (RCIGM). “We are all about changing outcomes for children,” explained Dr. Stephen Kingsmore, President and CEO of the group. The institute’s initial goal was to provide rapid diagnoses for critically ill children and shorten their diagnostic odyssey, a term used to describe the long and arduous process it takes patients to obtain an accurate...
              12-16-2024, 07:57 AM
            • seqadmin
              Recent Advances in Sequencing Technologies
              by seqadmin



              Innovations in next-generation sequencing technologies and techniques are driving more precise and comprehensive exploration of complex biological systems. Current advancements include improved accessibility for long-read sequencing and significant progress in single-cell and 3D genomics. This article explores some of the most impactful developments in the field over the past year.

              Long-Read Sequencing
              Long-read sequencing has seen remarkable advancements,...
              12-02-2024, 01:49 PM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, 12-17-2024, 10:28 AM
            0 responses
            25 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 12-13-2024, 08:24 AM
            0 responses
            42 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 12-12-2024, 07:41 AM
            0 responses
            28 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 12-11-2024, 07:45 AM
            0 responses
            42 views
            0 likes
            Last Post seqadmin  
            Working...
            X