New answers tagged bash
3
votes
MiXCR: only create a single export file for all clonotypes
Currently in MiXCR SERIES 4 you can use --dont-split-files parameter here.
Please check our new documentation portal:
https://docs.milaboratories.com/mixcr/...
- 109
2
votes
Accepted
How to remove empty files from a directory?
This isn't the most efficient approach, using find will be easier and faster as long as your find supports the ...
- 8,770
2
votes
How to remove empty files from a directory?
As already stated, one way is to use the GNU find (the default on Linux) command. This will find and print all empty files in the current directory:
...
- 2,147
1
vote
How to rename a file based on a directory name?
Perl one-liner:
ls */filename | perl -lane 'print "mv $1/$3 $1/$2_$3" if /(\S+_([^\/_\s]+))\/(\S+)/'
- 6,121
1
vote
How to remove empty files from a directory?
@Ram RS has identified the solution here via find, if that does not work then the following will work,
...
M__♦
- 9,149
3
votes
How to remove empty files from a directory?
Always Google before asking on forums. I googled "delete empty files linux" and this was the second result: https://www.baeldung.com/linux/delete-empty-files-dirs
...
- 1,452
1
vote
3
votes
How to rename a file based on a directory name?
Assuming the output is only a list of directories and each directory includes a file called "ragtag.scaffold.fasta", you could use brace expansion to generate the SOURCE and DEST strings:
<...
- 2,147
3
votes
Accepted
How to rename a file based on a directory name?
Just execute the following immediately above the directories of interest, (post edited to include OPs "constant term")
...
M__♦
- 9,149
Top 50 recent answers are included
Related Tags
bash × 92linux × 13
python × 12
fasta × 12
r × 9
shell × 8
fastq × 7
awk × 7
sequence-alignment × 6
phylogenetics × 6
samtools × 6
rna-seq × 5
loop × 5
vcf × 4
proteins × 3
genome × 3
sequence-analysis × 3
blast × 3
filtering × 3
perl × 3
cellranger × 3
database × 2
protein-structure × 2
ngs × 2
covid-19 × 2