Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • arkilis
    Senior Member
    • Jul 2013
    • 119

    how to use mafft do find out kir genes?

    recently get a batch of data from miseq, is there way to use mafft to find those kir genes?

    I searched online for mafft usage, which looks no where to put kir databases.



    many thanks!
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    kir == Killer cell immunoglobulin-like receptors (KIRs) genes? Why not get the sequences you are interested in, use BBSplit to fish out the sequences from MiSeq that map and then do mafft or some other MSA on the sequences of interest.

    Comment

    • arkilis
      Senior Member
      • Jul 2013
      • 119

      #3
      Thanks GenoMax.

      I tried the whole weekend. BBSplit/BBMap looks like a alignment tool. I have the KIR gene database, need to get the what it has (KIR) in the sequence files. Any clue on this?

      Thanks again!

      Comment

      • GenoMax
        Senior Member
        • Feb 2008
        • 7142

        #4
        Originally posted by arkilis View Post
        Thanks GenoMax.
        I have the KIR gene database, need to get the what it has (KIR) in the sequence files. Any clue on this?
        Can you elaborate as to what "database" here means? You have KIR genes sequences but in what format (plain text, blast, one of NGS aligner index format)?

        BBSplit uses alignments to identify reads that map to sequences of interest and then separate them (this can work the other way around as well i.e. you discard reads that map as being uninteresting and collect unmapped reads to process further).

        Comment

        • arkilis
          Senior Member
          • Jul 2013
          • 119

          #5
          Originally posted by GenoMax View Post
          Can you elaborate as to what "database" here means? You have KIR genes sequences but in what format (plain text, blast, one of NGS aligner index format)?

          BBSplit uses alignments to identify reads that map to sequences of interest and then separate them (this can work the other way around as well i.e. you discard reads that map as being uninteresting and collect unmapped reads to process further).
          Sorry for the confusion.

          KIR gene from www.ebi.ac.uk/ipd/kir in fasta format. I might want to use this as the database to find out how many of them are in the current sequence files. I read some papers online, which says all the sequences (fastq) need to be assemblied first. http://www.nature.com/nrg/journal/v1...l/nrg3174.html

          Newbie to this area. Thanks for your advice!

          Ben
          Last edited by arkilis; 01-11-2015, 05:39 PM.

          Comment

          • GenoMax
            Senior Member
            • Feb 2008
            • 7142

            #6
            If your KIR files are in fasta format then here is what you do (command only for reference, make appropriate changes as needed):

            If you have single end reads
            Code:
            $ bbsplit.sh in=reads.fq ref=KIR.fa outu=things_that_do_not_match.fq outm=reads_match_KIR.fq
            Reads that match things in KIR.fa are collected in "reads_match_KIR.fq" file rest are put in the other file.

            If you have paired-end reads:
            Code:
            $ bbsplit.sh in1=reads1.fq in2=reads2.fq ref=KIR.fa outu1=no_match_1.fq outu2=no_match_2.fq outm1=matched_to_KIR1.fq outm2=matched_to_KIR_2.fq
            Note: This should definitely work with a single KIR sequence file (it also may work with a multi-fasta file). Give it a try and see what happens.

            Comment

            • arkilis
              Senior Member
              • Jul 2013
              • 119

              #7
              Originally posted by GenoMax View Post
              If your KIR files are in fasta format then here is what you do (command only for reference, make appropriate changes as needed):

              If you have single end reads
              Code:
              $ bbsplit.sh in=reads.fq ref=KIR.fa outu=things_that_do_not_match.fq outm=reads_match_KIR.fq
              Reads that match things in KIR.fa are collected in "reads_match_KIR.fq" file rest are put in the other file.

              If you have paired-end reads:
              Code:
              $ bbsplit.sh in1=reads1.fq in2=reads2.fq ref=KIR.fa outu1=no_match_1.fq outu2=no_match_2.fq outm1=matched_to_KIR1.fq outm2=matched_to_KIR_2.fq
              Note: This should definitely work with a single KIR sequence file (it also may work with a multi-fasta file). Give it a try and see what happens.
              Finally I used the command you suggested:

              bbsplit.sh in1=read1.fastq in2=read2.fastq ref=KIR_nuc.fasta outu1=no_match_1.fq outu2=no_match_2.fq outm1=matched_to_KIR1.fq outm2=matched_to_KIR2.fq

              Will discuss with colleagues and get back Thanks!

              Comment

              Latest Articles

              Collapse

              • GATTACAT
                Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
                by GATTACAT
                Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
                07-01-2026, 11:43 AM
              • 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

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by SEQadmin2, 07-02-2026, 11:08 AM
              0 responses
              25 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 06-30-2026, 05:37 AM
              0 responses
              23 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 06-26-2026, 11:10 AM
              0 responses
              23 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 06-17-2026, 06:09 AM
              0 responses
              55 views
              0 reactions
              Last Post SEQadmin2  
              Working...