Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • Parsing and extracting from 2 Fasta Files

    Hello I have 2 Multi-Fasta files with different Headers - a Reference file and a Test file

    Reference file example
    >gi|536779208|gb|GANF01000001.1| TSA: Momordica charantia Locus_17026_Transcript_1/1_Confidence_1.000_Length_828 transcribed RNA sequence
    CGGGCGTAGCGACGAACGGCGGCGAAGACGACGCTCCAATCGAGGAGGTACTGGTTTTCAATCGCTTCCG
    TGAATTAGTTTCGGTCCCTGCGGAGGAAGAGGAATGTTTGGGAGGCAGAGCCGCAACGCCAGGAATGGCG
    CTCAAATCGTACTCAGAATCATCGTTGTAGAAACGGGAAGGGGAAGATTGAATCTGGGAGTGAGAATTGG
    ...

    Test file example
    >gi|537289490|gb|GANG01000001.1| TSA: Momordica charantia Locus_12460_Transcript_2/3_Confidence_0.400_Length_1699 transcribed RNA sequence
    TGTCTGTGTTTTAGAGATATGAAAAGTGTTGGCCTAGTGCCTGATAATGTAATTTATACTATACTTATAG
    ATGGGTTTTGTCGAAATGGTGCTATTTCAGATGCTCTGAAAATGCGGGACGAGATGCTTGCTCAGGGCTG
    TGTTATGGATGTGGTTGCGTACAATACTATTTTGAATGGGTTATGCAAGAAAAAGATGTATGTTGACGCA
    ..

    These files contain ~51000 entries.

    I want to separate out entries that are similar in the Reference and Test with the preference of setting a similarity percentage - like 95% similar or so.
    The output would ideally be in 2 files - the similar ones and the excluded ones.

    Can the multiple sequence alignment programs like Mummer do that? or BLAST? If any similar program exists please help me out

    Thank you.

  • #2
    The easiest and fastest would be to use BLAST (locally using one of your file as database and setting the tabular output) and then parse the result yourself... You can easily make it using R for example.

    Comment

    Latest Articles

    Collapse

    • 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
    • seqadmin
      Current Approaches to Protein Sequencing
      by seqadmin


      Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
      04-04-2024, 04:25 PM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by seqadmin, 04-11-2024, 12:08 PM
    0 responses
    59 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 04-10-2024, 10:19 PM
    0 responses
    57 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 04-10-2024, 09:21 AM
    0 responses
    51 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 04-04-2024, 09:00 AM
    0 responses
    56 views
    0 likes
    Last Post seqadmin  
    Working...
    X