removing backlash from sequence
Clash 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
text-processing bioinformatics
add a comment |Â
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
text-processing bioinformatics
if you just want to delete all backslashes, usetr
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
add a comment |Â
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
text-processing bioinformatics
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
text-processing bioinformatics
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, usetr
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
add a comment |Â
if you just want to delete all backslashes, usetr
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
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
1
down vote
With tr
:
tr -d \\ <file_in >file_out
add a comment |Â
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
1
Thecat
is definitely not needed.
â Kusalananda
Oct 16 '17 at 9:29
add a comment |Â
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
add a comment |Â
up vote
1
down vote
With tr
:
tr -d \\ <file_in >file_out
add a comment |Â
up vote
1
down vote
up vote
1
down vote
With tr
:
tr -d \\ <file_in >file_out
With tr
:
tr -d \\ <file_in >file_out
answered Oct 16 '17 at 9:30
Satà  Katsura
10.7k11533
10.7k11533
add a comment |Â
add a comment |Â
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
1
Thecat
is definitely not needed.
â Kusalananda
Oct 16 '17 at 9:29
add a comment |Â
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
1
Thecat
is definitely not needed.
â Kusalananda
Oct 16 '17 at 9:29
add a comment |Â
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
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
edited Oct 16 '17 at 9:32
answered Oct 16 '17 at 9:28
GiannakopoulosJ
430213
430213
1
Thecat
is definitely not needed.
â Kusalananda
Oct 16 '17 at 9:29
add a comment |Â
1
Thecat
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
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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