Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • FrankiB
    Member
    • Dec 2013
    • 23

    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
  • dpryan
    Devon Ryan
    • Jul 2011
    • 3478

    #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

    • FrankiB
      Member
      • Dec 2013
      • 23

      #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

      • dpryan
        Devon Ryan
        • Jul 2011
        • 3478

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

        Comment

        • FrankiB
          Member
          • Dec 2013
          • 23

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

          Comment

          • dpryan
            Devon Ryan
            • Jul 2011
            • 3478

            #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

            • SEQadmin2
              Nine Things a Sample Prep Scientist Thinks About Before Sequencing
              by SEQadmin2


              I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

              Here are nine questions we think about, in roughly the order they matter, before...
              06-18-2026, 07:11 AM
            • SEQadmin2
              From Collection to Sequencing: Why Sample Preparation and Preservation Define Sequencing Data
              by SEQadmin2


              Data variability is still an issue in sequencing technologies despite the advances in reproducibility and accuracy of these platforms. But the problem does not originate in the sequencing itself, but in the previous steps, before the sample reaches the sequencer.


              The first step is collection, followed by preservation and sample preparation for analysis. Most scientists overlook those steps, but not being careful might just be skewing the experiment’s results.
              ...
              06-02-2026, 10:05 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, 06-26-2026, 11:10 AM
            0 responses
            16 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 06-17-2026, 06:09 AM
            0 responses
            49 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 06-09-2026, 11:58 AM
            0 responses
            108 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 06-05-2026, 10:09 AM
            0 responses
            125 views
            0 reactions
            Last Post SEQadmin2  
            Working...