' for reading (No such file or directory)ATHPOGON1.txt when running my script

 Clash Royale CLAN TAG#URR8PPP
Clash Royale CLAN TAG#URR8PPP up vote
0
down vote
favorite
1
When I try to run my script which is
#!/bin/sh
awk 'print "extractseq 1.fasta -regions ""$1".."$2""" ' 
Positions2_ATHPOGON1.txt
it marks an error like
' for reading (No such file or directory)ATHPOGON1.txt. 
I tried different methods but any of them work, can you help ? 
Thanks 
command-line scripts
 |Â
show 2 more comments
up vote
0
down vote
favorite
1
When I try to run my script which is
#!/bin/sh
awk 'print "extractseq 1.fasta -regions ""$1".."$2""" ' 
Positions2_ATHPOGON1.txt
it marks an error like
' for reading (No such file or directory)ATHPOGON1.txt. 
I tried different methods but any of them work, can you help ? 
Thanks 
command-line scripts
 
 
 1
 
 
 
 
 What are you trying to accomplish ? please edit and add possible input and the corresponding expected output.
 â Félicien
 Feb 26 at 15:06
 
 
 
 
 
 1
 
 
 
 
 Well, i have a sequence of DNA, and i want to make a script that can integrate all the positions that i want in the sequence. But, this code works perfectly, its when i want to run the script that this makes this error. (Sorry for the english i'm french). I don't think that the error comes from my code
 â Glageosa
 Feb 26 at 15:09
 
 
 
 
 
 1
 
 
 
 
 The truncated error message (it shouldn't start with an unmatched quote character) makes me suspect that DOS line endings (with carriage returns) are involved somewhere in your workflow
 â steeldriver
 Feb 26 at 15:26
 
 
 
 
 
 
 
 
 
 Alright thanks, and what can i do about that ?
 â Glageosa
 Feb 26 at 16:15
 
 
 
 
 
 
 
 
 
 I've downloaded Ubuntu on my PC (i'm under Windows 10) do you think that this is involved ?
 â Glageosa
 Feb 26 at 16:18
 
 
 
 |Â
show 2 more comments
up vote
0
down vote
favorite
1
up vote
0
down vote
favorite
1
1
When I try to run my script which is
#!/bin/sh
awk 'print "extractseq 1.fasta -regions ""$1".."$2""" ' 
Positions2_ATHPOGON1.txt
it marks an error like
' for reading (No such file or directory)ATHPOGON1.txt. 
I tried different methods but any of them work, can you help ? 
Thanks 
command-line scripts
When I try to run my script which is
#!/bin/sh
awk 'print "extractseq 1.fasta -regions ""$1".."$2""" ' 
Positions2_ATHPOGON1.txt
it marks an error like
' for reading (No such file or directory)ATHPOGON1.txt. 
I tried different methods but any of them work, can you help ? 
Thanks 
command-line scripts
command-line scripts
edited Feb 26 at 15:09


dessert
20k55795
20k55795
asked Feb 26 at 15:04
Glageosa
1
1
 
 
 1
 
 
 
 
 What are you trying to accomplish ? please edit and add possible input and the corresponding expected output.
 â Félicien
 Feb 26 at 15:06
 
 
 
 
 
 1
 
 
 
 
 Well, i have a sequence of DNA, and i want to make a script that can integrate all the positions that i want in the sequence. But, this code works perfectly, its when i want to run the script that this makes this error. (Sorry for the english i'm french). I don't think that the error comes from my code
 â Glageosa
 Feb 26 at 15:09
 
 
 
 
 
 1
 
 
 
 
 The truncated error message (it shouldn't start with an unmatched quote character) makes me suspect that DOS line endings (with carriage returns) are involved somewhere in your workflow
 â steeldriver
 Feb 26 at 15:26
 
 
 
 
 
 
 
 
 
 Alright thanks, and what can i do about that ?
 â Glageosa
 Feb 26 at 16:15
 
 
 
 
 
 
 
 
 
 I've downloaded Ubuntu on my PC (i'm under Windows 10) do you think that this is involved ?
 â Glageosa
 Feb 26 at 16:18
 
 
 
 |Â
show 2 more comments
 
 
 1
 
 
 
 
 What are you trying to accomplish ? please edit and add possible input and the corresponding expected output.
 â Félicien
 Feb 26 at 15:06
 
 
 
 
 
 1
 
 
 
 
 Well, i have a sequence of DNA, and i want to make a script that can integrate all the positions that i want in the sequence. But, this code works perfectly, its when i want to run the script that this makes this error. (Sorry for the english i'm french). I don't think that the error comes from my code
 â Glageosa
 Feb 26 at 15:09
 
 
 
 
 
 1
 
 
 
 
 The truncated error message (it shouldn't start with an unmatched quote character) makes me suspect that DOS line endings (with carriage returns) are involved somewhere in your workflow
 â steeldriver
 Feb 26 at 15:26
 
 
 
 
 
 
 
 
 
 Alright thanks, and what can i do about that ?
 â Glageosa
 Feb 26 at 16:15
 
 
 
 
 
 
 
 
 
 I've downloaded Ubuntu on my PC (i'm under Windows 10) do you think that this is involved ?
 â Glageosa
 Feb 26 at 16:18
 
 
 
1
1
What are you trying to accomplish ? please edit and add possible input and the corresponding expected output.
â Félicien
Feb 26 at 15:06
What are you trying to accomplish ? please edit and add possible input and the corresponding expected output.
â Félicien
Feb 26 at 15:06
1
1
Well, i have a sequence of DNA, and i want to make a script that can integrate all the positions that i want in the sequence. But, this code works perfectly, its when i want to run the script that this makes this error. (Sorry for the english i'm french). I don't think that the error comes from my code
â Glageosa
Feb 26 at 15:09
Well, i have a sequence of DNA, and i want to make a script that can integrate all the positions that i want in the sequence. But, this code works perfectly, its when i want to run the script that this makes this error. (Sorry for the english i'm french). I don't think that the error comes from my code
â Glageosa
Feb 26 at 15:09
1
1
The truncated error message (it shouldn't start with an unmatched quote character) makes me suspect that DOS line endings (with carriage returns) are involved somewhere in your workflow
â steeldriver
Feb 26 at 15:26
The truncated error message (it shouldn't start with an unmatched quote character) makes me suspect that DOS line endings (with carriage returns) are involved somewhere in your workflow
â steeldriver
Feb 26 at 15:26
Alright thanks, and what can i do about that ?
â Glageosa
Feb 26 at 16:15
Alright thanks, and what can i do about that ?
â Glageosa
Feb 26 at 16:15
I've downloaded Ubuntu on my PC (i'm under Windows 10) do you think that this is involved ?
â Glageosa
Feb 26 at 16:18
I've downloaded Ubuntu on my PC (i'm under Windows 10) do you think that this is involved ?
â Glageosa
Feb 26 at 16:18
 |Â
show 2 more comments
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
 
draft saved
draft discarded
 
draft saved
draft discarded
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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%2faskubuntu.com%2fquestions%2f1009995%2ffor-reading-no-such-file-or-directoryathpogon1-txt-when-running-my-script%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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
1
What are you trying to accomplish ? please edit and add possible input and the corresponding expected output.
â Félicien
Feb 26 at 15:06
1
Well, i have a sequence of DNA, and i want to make a script that can integrate all the positions that i want in the sequence. But, this code works perfectly, its when i want to run the script that this makes this error. (Sorry for the english i'm french). I don't think that the error comes from my code
â Glageosa
Feb 26 at 15:09
1
The truncated error message (it shouldn't start with an unmatched quote character) makes me suspect that DOS line endings (with carriage returns) are involved somewhere in your workflow
â steeldriver
Feb 26 at 15:26
Alright thanks, and what can i do about that ?
â Glageosa
Feb 26 at 16:15
I've downloaded Ubuntu on my PC (i'm under Windows 10) do you think that this is involved ?
â Glageosa
Feb 26 at 16:18