The stout.miRNA.bash.$date_formatted is where /Processed reads/ and /Trimmed reads/ comes from.
No it is not... They only get put there because your program writes them there in the first place. So that's no more use to me than it is to you -- less, actually, because you have some idea where it's being extracted from and I don't.
Quote:
It was buried in my previous posting. The first few lines of the file for the first sample are:
Okay, so you have two seperate kinds of files -- the summaries and the samples. They come in matched pairs which you want to process together, extracting all of one and some of the other.
"$LOCATION"/Sample_* matches all sample files (not folders).
"$LOCATION"/*_fastqc matches all folders containing summaries, corresponding to the samples above.
What exactly do these paths / filenames have in common? You can't use * to match one and * to match the other when you want pairs, since they both expand to complete lists. Do you find the sample in Sample_abcde, and the summary in abcde_fastqc ?
In bash, I need to send the STDOUT and STDERR from a command to one file, and then just STDERR to another file. Doing one or the other using redirects is easy, but trying to do both at once is a bit tricky. Anyone have any ideas? (9 Replies)
Is there a way to redirect all stdout to a file implicitly - like defining stdout=/home/me/process.log - so that all "echo" commands in several scripts/subscripts are written to that file; instead of having to edit all scripts to redirect the "echo" (e.g. echo 'This is a test ' >>... (1 Reply)
Hi,
I am trying to execute a command like this:
find ./ -name "*.gz" -exec sh -c 'zcat {} | awk -f parse.awk' \; >> output
If I want to print the filename, i generally use the -print argument to the find command but when I am redirecting the output to a file, how can I print just the... (2 Replies)
I have an executable that, depending on its input, outputs to either one file or several. It usually prints nothing on screen. The usual way to call this program is to specify an input and output filenames, like this:
./executable.exe -i inputfile -o outputfileIt will then try to use the output... (1 Reply)
can anyone help me in making singleline command for
Capital Letters are folders ,small letter are files
X,Y,Z are subfolders of A
as shown below
A - X,Y,Z
Folder X has three files a.txt,b.txt,c.txt similarly Y,Z.
as shown below
X- a.txt,b.txt,c.txt
Y- a.txt,b.txt,c.txt
Z-... (4 Replies)
Hi everybody,
I am trying to do the thing you see in the title, and I can't simply do
a=$(svn up)
echo $a
because the program (svn) gives output on lots of lines and in the variable the output is stored on only one line (resulting in a horribly formatted text). Any tips?
Thanks,... (2 Replies)
Hello,
I have a script (videostream.sh) which invokes the GStreamer command-line tool gst-launch with all the correct command line parameters. When I invoke this program, I add the '&' character at the end to make it a background task, so that my script can complete and exit, i.e.
gst-launch... (1 Reply)
I have a simple bash script that prints sth every 5 seconds. What I do is the following. I redirect the output of the script to a file, tail the file and see that it works and then from another console I delete the file where the output is redirected to. Even though I have deleted the file, the... (2 Replies)
I have a C program that continously outputs info to stdout. The problem is that I am redirecting the stdout and stderr to a file and stdout is written at the end of the problem rather than continously to the file. This could be a problem if for example the program is killed and the stdout output is... (3 Replies)
Hello,
I'm strugling with some redirecting and all help is apreciated.
The following program is working as expected, but the result of the AT command doesn't go to any file.
Thanks in advance for the help.
#!/bin/bash
modem=/dev/ttyUSB1
file=/root/imsi.txt
# print error to stderr and exit... (4 Replies)
Discussion started by: cleitao
4 Replies
LEARN ABOUT DEBIAN
ssake
SSAKE(1) General Commands Manual SSAKE(1)NAME
ssake - assembling millions of very short DNA sequences
SYNOPSIS
Progressive assembly of millions of short DNA sequences by k-mer search through a prefix tree and 3' extension.
OPTIONS -f Fasta file containing all the [paired (-p 1) / unpaired (-p 0)] reads (required) paired reads must now be separated by ":"
-s Fasta file containing sequences to use as seeds exclusively (specify only if different from read set, optional)
-m Minimum number of overlapping bases with the seed/contig during overhang consensus build up (default -m 16)
-o Minimum number of reads needed to call a base during an extension (default -o 3)
-r Minimum base ratio used to accept a overhang consensus base (default -r 0.7)
-t Trim up to -t base(s) on the contig end when all possibilities have been exhausted for an extension (default -t 0)>
-p Paired-end reads used? (-p 1=yes, -p 0=no, default -p 0)
-v Runs in verbose mode (-v 1=yes, -v 0=no, default -v 0, optional)
-b Base name for your output files (optional)
============ Options below only considered with -p 1 ============
-d Mean distance expected/observed between paired-end reads (default -d 200, optional)
-e Error (%) allowed on mean distance e.g. -e 0.75 == distance +/- 75% (default -e 0.75, optional)
-k Minimum number of links (read pairs) to compute scaffold (default -k 2, optional)
-a Maximum link ratio between two best contig pairs *higher values lead to least accurate scaffolding* (default -a 0.70, optional)
-z Minimum contig size to track paired-end reads (default -z 50, optional)
-g Fasta file containing unpaired sequence reads (optional)
SEE ALSO
/usr/share/doc/ssake/SSAKE.readme between
AUTHORS
This manual page was written by Andreas Tille <tille@debian.org> for the Debian system (but may be used by others). Permission is granted
to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by
the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
January 2008 SSAKE(1)