removing backlash from sequence

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
-3
down vote

favorite












How do I remove this running backlash from my sequences?



ACCATTTTTTTATAGTGA
AGTACAGTAGATATAAACCCACCACAATAGGCTGAGGCTTCCTTATCAATAGCTTGATT
TTGGAAATACGTAGAACCCCAATGTGGTCCAAAGCTACTTGGACATTGGTCAAAATCCA
AGTCACATTATCGTGACCATCTTAATCTTTACATTTTTCAAAATGCATGAACCTTTTTC
CTCAAAAATAGCTCTAATACTTTGCTCCTATTGCGGGTCCCACAATACAATTTAAATTT
TACCATAATTAAAGTTACCTTAAACTCTCCGAACCTCATATGTCACGAACTTGAAGTCG
TACCTTTTTCCAAGTCGGCCATGGTTCATCAAATTTTTGTCTAATGATCCATTAGAAGA
TAATGGAAGGGCCGTGTGCTGACGTAAATATATGGAAAATGATATTATCAATGTCATAT
TTAAAGAATGTTATTTAAGAAAATAACTATTATATTAAAATTTACTTACTCTTTGTCTA
TTGCTTGAAGAAAAGGACTTTTATCAATTGGATGATAAGAGTGTAGAGATAGGTATTCA
GGTATCAACGAATCTTCTAGTGCTGAAGGTGTGACCACTATAGAAGGTATAATGGAAAT
CGATTTGGCTACAAAGGTAGGCTTTGGTTCCTACTGAACCGTAGAAAATGTGCCCTGTT
GGACAATAGGAATTGTTGACTCTAAGGTTGAGATGTGAATGGTAGAAGTGAGAAAGTTG
ATGGTGGCTAGAGCTCTCCCACCAACACCATGACCTTTGCCATGGTTAGATGGTCTACA
ACCATCACTTCTACCTCTGTCCATCATCTGTATGTAGAAATTGTTACATATATGACAAT
TCTAAGTGAACATAAATAAACAAAGTGAAATATTATATCTTTAGTAAAAAAGAAAGTAA
CCCAACTTATGAGAGAAAACTCAAACTTGATCATTTTTTCTACACTAAAACGTGTCACT
TATCTTTTCCCTCATAATCACTACAAGTAATTATTACAAATAATGGTCATACAAATGTA






share|improve this question






















  • if you just want to delete all backslashes, use tr command... also check out bioinformatics.stackexchange.com
    – Sundeep
    Oct 16 '17 at 9:06







  • 1




    I suspect from the length of the first line and the alignment that the answer lies in how you are generating them in the first place. Of course, you give us zero information about that.
    – JdeBP
    Oct 16 '17 at 9:51














up vote
-3
down vote

favorite












How do I remove this running backlash from my sequences?



ACCATTTTTTTATAGTGA
AGTACAGTAGATATAAACCCACCACAATAGGCTGAGGCTTCCTTATCAATAGCTTGATT
TTGGAAATACGTAGAACCCCAATGTGGTCCAAAGCTACTTGGACATTGGTCAAAATCCA
AGTCACATTATCGTGACCATCTTAATCTTTACATTTTTCAAAATGCATGAACCTTTTTC
CTCAAAAATAGCTCTAATACTTTGCTCCTATTGCGGGTCCCACAATACAATTTAAATTT
TACCATAATTAAAGTTACCTTAAACTCTCCGAACCTCATATGTCACGAACTTGAAGTCG
TACCTTTTTCCAAGTCGGCCATGGTTCATCAAATTTTTGTCTAATGATCCATTAGAAGA
TAATGGAAGGGCCGTGTGCTGACGTAAATATATGGAAAATGATATTATCAATGTCATAT
TTAAAGAATGTTATTTAAGAAAATAACTATTATATTAAAATTTACTTACTCTTTGTCTA
TTGCTTGAAGAAAAGGACTTTTATCAATTGGATGATAAGAGTGTAGAGATAGGTATTCA
GGTATCAACGAATCTTCTAGTGCTGAAGGTGTGACCACTATAGAAGGTATAATGGAAAT
CGATTTGGCTACAAAGGTAGGCTTTGGTTCCTACTGAACCGTAGAAAATGTGCCCTGTT
GGACAATAGGAATTGTTGACTCTAAGGTTGAGATGTGAATGGTAGAAGTGAGAAAGTTG
ATGGTGGCTAGAGCTCTCCCACCAACACCATGACCTTTGCCATGGTTAGATGGTCTACA
ACCATCACTTCTACCTCTGTCCATCATCTGTATGTAGAAATTGTTACATATATGACAAT
TCTAAGTGAACATAAATAAACAAAGTGAAATATTATATCTTTAGTAAAAAAGAAAGTAA
CCCAACTTATGAGAGAAAACTCAAACTTGATCATTTTTTCTACACTAAAACGTGTCACT
TATCTTTTCCCTCATAATCACTACAAGTAATTATTACAAATAATGGTCATACAAATGTA






share|improve this question






















  • if you just want to delete all backslashes, use tr command... also check out bioinformatics.stackexchange.com
    – Sundeep
    Oct 16 '17 at 9:06







  • 1




    I suspect from the length of the first line and the alignment that the answer lies in how you are generating them in the first place. Of course, you give us zero information about that.
    – JdeBP
    Oct 16 '17 at 9:51












up vote
-3
down vote

favorite









up vote
-3
down vote

favorite











How do I remove this running backlash from my sequences?



ACCATTTTTTTATAGTGA
AGTACAGTAGATATAAACCCACCACAATAGGCTGAGGCTTCCTTATCAATAGCTTGATT
TTGGAAATACGTAGAACCCCAATGTGGTCCAAAGCTACTTGGACATTGGTCAAAATCCA
AGTCACATTATCGTGACCATCTTAATCTTTACATTTTTCAAAATGCATGAACCTTTTTC
CTCAAAAATAGCTCTAATACTTTGCTCCTATTGCGGGTCCCACAATACAATTTAAATTT
TACCATAATTAAAGTTACCTTAAACTCTCCGAACCTCATATGTCACGAACTTGAAGTCG
TACCTTTTTCCAAGTCGGCCATGGTTCATCAAATTTTTGTCTAATGATCCATTAGAAGA
TAATGGAAGGGCCGTGTGCTGACGTAAATATATGGAAAATGATATTATCAATGTCATAT
TTAAAGAATGTTATTTAAGAAAATAACTATTATATTAAAATTTACTTACTCTTTGTCTA
TTGCTTGAAGAAAAGGACTTTTATCAATTGGATGATAAGAGTGTAGAGATAGGTATTCA
GGTATCAACGAATCTTCTAGTGCTGAAGGTGTGACCACTATAGAAGGTATAATGGAAAT
CGATTTGGCTACAAAGGTAGGCTTTGGTTCCTACTGAACCGTAGAAAATGTGCCCTGTT
GGACAATAGGAATTGTTGACTCTAAGGTTGAGATGTGAATGGTAGAAGTGAGAAAGTTG
ATGGTGGCTAGAGCTCTCCCACCAACACCATGACCTTTGCCATGGTTAGATGGTCTACA
ACCATCACTTCTACCTCTGTCCATCATCTGTATGTAGAAATTGTTACATATATGACAAT
TCTAAGTGAACATAAATAAACAAAGTGAAATATTATATCTTTAGTAAAAAAGAAAGTAA
CCCAACTTATGAGAGAAAACTCAAACTTGATCATTTTTTCTACACTAAAACGTGTCACT
TATCTTTTCCCTCATAATCACTACAAGTAATTATTACAAATAATGGTCATACAAATGTA






share|improve this question














How do I remove this running backlash from my sequences?



ACCATTTTTTTATAGTGA
AGTACAGTAGATATAAACCCACCACAATAGGCTGAGGCTTCCTTATCAATAGCTTGATT
TTGGAAATACGTAGAACCCCAATGTGGTCCAAAGCTACTTGGACATTGGTCAAAATCCA
AGTCACATTATCGTGACCATCTTAATCTTTACATTTTTCAAAATGCATGAACCTTTTTC
CTCAAAAATAGCTCTAATACTTTGCTCCTATTGCGGGTCCCACAATACAATTTAAATTT
TACCATAATTAAAGTTACCTTAAACTCTCCGAACCTCATATGTCACGAACTTGAAGTCG
TACCTTTTTCCAAGTCGGCCATGGTTCATCAAATTTTTGTCTAATGATCCATTAGAAGA
TAATGGAAGGGCCGTGTGCTGACGTAAATATATGGAAAATGATATTATCAATGTCATAT
TTAAAGAATGTTATTTAAGAAAATAACTATTATATTAAAATTTACTTACTCTTTGTCTA
TTGCTTGAAGAAAAGGACTTTTATCAATTGGATGATAAGAGTGTAGAGATAGGTATTCA
GGTATCAACGAATCTTCTAGTGCTGAAGGTGTGACCACTATAGAAGGTATAATGGAAAT
CGATTTGGCTACAAAGGTAGGCTTTGGTTCCTACTGAACCGTAGAAAATGTGCCCTGTT
GGACAATAGGAATTGTTGACTCTAAGGTTGAGATGTGAATGGTAGAAGTGAGAAAGTTG
ATGGTGGCTAGAGCTCTCCCACCAACACCATGACCTTTGCCATGGTTAGATGGTCTACA
ACCATCACTTCTACCTCTGTCCATCATCTGTATGTAGAAATTGTTACATATATGACAAT
TCTAAGTGAACATAAATAAACAAAGTGAAATATTATATCTTTAGTAAAAAAGAAAGTAA
CCCAACTTATGAGAGAAAACTCAAACTTGATCATTTTTTCTACACTAAAACGTGTCACT
TATCTTTTCCCTCATAATCACTACAAGTAATTATTACAAATAATGGTCATACAAATGTA








share|improve this question













share|improve this question




share|improve this question








edited Oct 16 '17 at 9:22









Jeff Schaller

32.1k849109




32.1k849109










asked Oct 16 '17 at 8:59









emmannaemeka

1




1











  • if you just want to delete all backslashes, use tr command... also check out bioinformatics.stackexchange.com
    – Sundeep
    Oct 16 '17 at 9:06







  • 1




    I suspect from the length of the first line and the alignment that the answer lies in how you are generating them in the first place. Of course, you give us zero information about that.
    – JdeBP
    Oct 16 '17 at 9:51
















  • if you just want to delete all backslashes, use tr command... also check out bioinformatics.stackexchange.com
    – Sundeep
    Oct 16 '17 at 9:06







  • 1




    I suspect from the length of the first line and the alignment that the answer lies in how you are generating them in the first place. Of course, you give us zero information about that.
    – JdeBP
    Oct 16 '17 at 9:51















if you just want to delete all backslashes, use tr command... also check out bioinformatics.stackexchange.com
– Sundeep
Oct 16 '17 at 9:06





if you just want to delete all backslashes, use tr command... also check out bioinformatics.stackexchange.com
– Sundeep
Oct 16 '17 at 9:06





1




1




I suspect from the length of the first line and the alignment that the answer lies in how you are generating them in the first place. Of course, you give us zero information about that.
– JdeBP
Oct 16 '17 at 9:51




I suspect from the length of the first line and the alignment that the answer lies in how you are generating them in the first place. Of course, you give us zero information about that.
– JdeBP
Oct 16 '17 at 9:51










2 Answers
2






active

oldest

votes

















up vote
1
down vote













With tr:



tr -d \\ <file_in >file_out





share|improve this answer



























    up vote
    1
    down vote













    you can pass your txt to sed 's@\@@g'



    sed 's@\@@g' sq.txt > new.sq.txt
    note: remove cat command as per comments suggestion.



    or using cat sq.txt | tr -d '\' > new.sq.txt






    share|improve this answer


















    • 1




      The cat is definitely not needed.
      – Kusalananda
      Oct 16 '17 at 9:29










    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    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',
    convertImagesToLinks: false,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f398358%2fremoving-backlash-from-sequence%23new-answer', 'question_page');

    );

    Post as a guest






























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote













    With tr:



    tr -d \\ <file_in >file_out





    share|improve this answer
























      up vote
      1
      down vote













      With tr:



      tr -d \\ <file_in >file_out





      share|improve this answer






















        up vote
        1
        down vote










        up vote
        1
        down vote









        With tr:



        tr -d \\ <file_in >file_out





        share|improve this answer












        With tr:



        tr -d \\ <file_in >file_out






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Oct 16 '17 at 9:30









        Satō Katsura

        10.7k11533




        10.7k11533






















            up vote
            1
            down vote













            you can pass your txt to sed 's@\@@g'



            sed 's@\@@g' sq.txt > new.sq.txt
            note: remove cat command as per comments suggestion.



            or using cat sq.txt | tr -d '\' > new.sq.txt






            share|improve this answer


















            • 1




              The cat is definitely not needed.
              – Kusalananda
              Oct 16 '17 at 9:29














            up vote
            1
            down vote













            you can pass your txt to sed 's@\@@g'



            sed 's@\@@g' sq.txt > new.sq.txt
            note: remove cat command as per comments suggestion.



            or using cat sq.txt | tr -d '\' > new.sq.txt






            share|improve this answer


















            • 1




              The cat is definitely not needed.
              – Kusalananda
              Oct 16 '17 at 9:29












            up vote
            1
            down vote










            up vote
            1
            down vote









            you can pass your txt to sed 's@\@@g'



            sed 's@\@@g' sq.txt > new.sq.txt
            note: remove cat command as per comments suggestion.



            or using cat sq.txt | tr -d '\' > new.sq.txt






            share|improve this answer














            you can pass your txt to sed 's@\@@g'



            sed 's@\@@g' sq.txt > new.sq.txt
            note: remove cat command as per comments suggestion.



            or using cat sq.txt | tr -d '\' > new.sq.txt







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Oct 16 '17 at 9:32

























            answered Oct 16 '17 at 9:28









            GiannakopoulosJ

            430213




            430213







            • 1




              The cat is definitely not needed.
              – Kusalananda
              Oct 16 '17 at 9:29












            • 1




              The cat is definitely not needed.
              – Kusalananda
              Oct 16 '17 at 9:29







            1




            1




            The cat is definitely not needed.
            – Kusalananda
            Oct 16 '17 at 9:29




            The cat is definitely not needed.
            – Kusalananda
            Oct 16 '17 at 9:29

















             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f398358%2fremoving-backlash-from-sequence%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            Displaying single band from multi-band raster using QGIS

            How many registers does an x86_64 CPU actually have?