What is a quick way to find the reverse complement in bashWhat is the fastest way to get the reverse complement of a DNA sequence in python?How to get the product of a CDSTool to show DNA sequence and allowing upload of own graph dataDe novo motif discovery in protein sequencesSort vcf by contig and position within contigHow to use extractfeat?Filter reads belonging to unique sequences with threshold

Bash awk command with quotes

Does a feasible high thrust high specific impulse engine exist using current non space technology?

Are there objective criteria for classifying consonance v. dissonance?

What 68-pin connector is this on my 2.5" solid state drive?

Output a Super Mario Image

Importance of the current postdoc advisor's letter in TT job search

Why does '/' contain '..'?

Exam design: give maximum score per question or not?

Why does an orbit become hyperbolic when total orbital energy is positive?

Other than good shoes and a stick, what are some ways to preserve your knees on long hikes?

Meaning of Swimming their horses

Can I travel to European countries with the Irish passport and without destination Visa?

Ethernet, Wifi and a little human psychology

Amortized Loans seem to benefit the bank more than the customer

How to publish superseding results without creating enemies

Why are some files not movable on Windows 10?

Why is this sentence grammatical?

Why is the UK still pressing on with Brexit?

Why don't Wizards use wrist straps to protect against disarming charms?

How much would a 1 foot tall human weigh?

What would happen if Protagoras v Euathlus were heard in court today?

How does a simple logistic regression model achieve a 92% classification accuracy on MNIST?

Has Dumbledore ever scolded Harry?

Why is it called a stateful and a stateless firewall?



What is a quick way to find the reverse complement in bash


What is the fastest way to get the reverse complement of a DNA sequence in python?How to get the product of a CDSTool to show DNA sequence and allowing upload of own graph dataDe novo motif discovery in protein sequencesSort vcf by contig and position within contigHow to use extractfeat?Filter reads belonging to unique sequences with threshold






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








3












$begingroup$


I have a DNA sequence of which I would like to quickly find the reverse complement. Is there a quick way of doing this on the bash command line using only GNU tools?










share|improve this question









$endgroup$




















    3












    $begingroup$


    I have a DNA sequence of which I would like to quickly find the reverse complement. Is there a quick way of doing this on the bash command line using only GNU tools?










    share|improve this question









    $endgroup$
















      3












      3








      3





      $begingroup$


      I have a DNA sequence of which I would like to quickly find the reverse complement. Is there a quick way of doing this on the bash command line using only GNU tools?










      share|improve this question









      $endgroup$




      I have a DNA sequence of which I would like to quickly find the reverse complement. Is there a quick way of doing this on the bash command line using only GNU tools?







      sequence-analysis dna bash






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 15 at 9:46









      winni2kwinni2k

      1,2702 silver badges20 bronze badges




      1,2702 silver badges20 bronze badges























          1 Answer
          1






          active

          oldest

          votes


















          9














          $begingroup$

          Thanks to Manu Tamminen for this solution:



          echo ACCTTGAAA | tr ACGTacgt TGCAtgca | rev





          share|improve this answer











          $endgroup$

















            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "676"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );














            draft saved

            draft discarded
















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fbioinformatics.stackexchange.com%2fquestions%2f7458%2fwhat-is-a-quick-way-to-find-the-reverse-complement-in-bash%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            9














            $begingroup$

            Thanks to Manu Tamminen for this solution:



            echo ACCTTGAAA | tr ACGTacgt TGCAtgca | rev





            share|improve this answer











            $endgroup$



















              9














              $begingroup$

              Thanks to Manu Tamminen for this solution:



              echo ACCTTGAAA | tr ACGTacgt TGCAtgca | rev





              share|improve this answer











              $endgroup$

















                9














                9










                9







                $begingroup$

                Thanks to Manu Tamminen for this solution:



                echo ACCTTGAAA | tr ACGTacgt TGCAtgca | rev





                share|improve this answer











                $endgroup$



                Thanks to Manu Tamminen for this solution:



                echo ACCTTGAAA | tr ACGTacgt TGCAtgca | rev






                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Apr 15 at 14:03









                Chris_Rands

                1,6894 silver badges19 bronze badges




                1,6894 silver badges19 bronze badges










                answered Apr 15 at 9:46









                winni2kwinni2k

                1,2702 silver badges20 bronze badges




                1,2702 silver badges20 bronze badges































                    draft saved

                    draft discarded















































                    Thanks for contributing an answer to Bioinformatics Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    Use MathJax to format equations. MathJax reference.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fbioinformatics.stackexchange.com%2fquestions%2f7458%2fwhat-is-a-quick-way-to-find-the-reverse-complement-in-bash%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Tamil (spriik) Luke uk diar | Nawigatjuun

                    Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

                    Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?