Hello, this is probably another really simple tasks for most of you gurus, however I am trying to make a script which takes an input, greps a specific file for that input, prints back to screen the results (which are directory names) and then be able to use the directory names to move files.... (1 Reply)
Hi all,
I have been searching online to find the answer for getting a list of files that do not match certain criteria but have been unsuccessful.
I have a directory that has many jpg files. What I need to do is get a list of the files that do not match both of the following patterns (I have... (21 Replies)
I would like to transfer all files ending with .log from /tmp and to /tmp/archive (using find )
The directory structure looks like :-
/tmp
a.log
b.log
c.log
/abcd
d.log
e.log
When I tried the following command , it movies all the log files... (8 Replies)
Hello All,
I have 2 files with around 2k records.. I am lost how to build a script to create another file with the below:confused::eek:
Match Condition1:
File1's 12th Columns data should exact match with File2's 19th Column's data
Match Condition2:
File1's 28th Column's data format is... (12 Replies)
I have a directory /home/cmccabe/nfs/exportedReports that contains multiple folders in it. The find writes the name of each folder to out.txt. A new directory is then created in a new location /home/cmccabe/Desktop/NGS/API, named with the date. What I am trying to do, unsuccessfully at the moment,... (7 Replies)
I am trying to look for $2 of file1 (skipping the header) in $2 of file2 (skipping the header) and if they match and the value in $10 is > 30 and $11 is > 49, then print the line from file1 to a output file. If no match is foung the line is not printed. Both the input and output are tab-delimited.... (3 Replies)
Hi
I'd like to add the newline:
\tuser: nobody", or "<TAB>user: nobody
to all files named:
docker-compose.ymlin subfolders of pwd with names beginning with 10-20.
Within these files, I'd like to find the line (there'll only be one) containing:
command: celery workerNOTE: As far as... (2 Replies)
Trying to use awk to match the contents of each line in file1 with $5 in file2. Both files are tab-delimited and there may be a space or special character in the name being matched in file2, for example in file1 the name is BRCA1 but in file2 the name is BRCA 1 or in file1 name is BCR but in file2... (6 Replies)
I am trying to mv each of the .vcf files in the variants folder to the folder in /home/cmccabe/f2 that the .vcf id is found in file. $2 in file will always have the id of a .vcf in the variants folder. The line in blue staring with R_2019 in file up to the -v5.6 will always be an exact match to a... (4 Replies)
Hello,
I'm a first time poster looking for help in scripting a task in my daily routine. I am new in unix but i am attracted to its use as a mac user.
Bear with me...
I have several files (20) that I manually drag via the mouse into several named directories over a network. I've used rsync... (14 Replies)
Discussion started by: SonnyClark
14 Replies
LEARN ABOUT DEBIAN
mvpa-prep-fmri
MVPA-PREP-FMRI(1) User Commands MVPA-PREP-FMRI(1)NAME
mvpa-prep-fmri - preprocess fMRI data for PyMVPA
SYNOPSIS
mvpa-prep-fmri [OPTIONS] <fmri-data>
DESCRIPTION
Tiny tool to prepare a directory for a typical analysis of fMRI data with PyMVPA. Tools from the FSL suite will be used for preprocessing.
It takes a 4D fMRI timeseries as input and performs the following steps:
- extract an example volume
- perform motion correction using the example volume as reference
- conservative skull-stripping and brain mask generation
- masking of the motion-corrected timeseries with the brain mask
All results will be stored either in the current directory, or in a subdirectory with the subject ID (if specified).
OPTIONS --version
show program's version number and exit
-v VERBOSE, --verbose=VERBOSE, --verbosity=VERBOSE
Verbosity level of output
-h, --help, --sos
Show this help message and exit
-s SUBJ, --subject-id=SUBJ
Subject ID used as output path
-e EXFUNC, --example-func-vol=EXFUNC
Volume (numeric ID or 'last', 'first', 'middle') to be used as an example functional image. Default: 10
-m MCFLIRT_OPTS, --mcflirt-options=MCFLIRT_OPTS
Options for MCFLIRT. '-plots' is auto-added
-p, --mcflirt-plots
Create a .pdf with plots of motion parameters
-b BET_OPTS, --bet-options=BET_OPTS
Options for BET. '-m' is auto-added. Default: '-f 0.3' for a safe guess of the brain outline
mvpa-prep-fmri 0.4.8 April 2012 MVPA-PREP-FMRI(1)