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

The name of the pictureThe name of the pictureThe name of the pictureClash 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










share|improve this question



















  • 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














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










share|improve this question



















  • 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












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










share|improve this question















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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












  • 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















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
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: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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%2faskubuntu.com%2fquestions%2f1009995%2ffor-reading-no-such-file-or-directoryathpogon1-txt-when-running-my-script%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














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













































































Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491