Skip to content

Commit

Permalink
parallel --gnu --willcite
Browse files Browse the repository at this point in the history
  • Loading branch information
eead-csic-compbio committed Aug 7, 2024
1 parent 8e815c9 commit 8412212
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions lib/get_phylomarkers_fun_lib
Original file line number Diff line number Diff line change
Expand Up @@ -1246,7 +1246,7 @@ function cleanup_PopGen_run {

# start working in popGen/\$neutral_loci_dir

ls ./*_clean.fasta | "$bindir"/parallel --gnu gzip {}
ls ./*_clean.fasta | "$bindir"/parallel --gnu --willcite gzip {}
mkdir src_FASTA || { msg "ERROR: could not mkdir src_FASTA" ERROR RED ; }
mv ./*_clean.fasta.gz src_FASTA

Expand All @@ -1264,27 +1264,27 @@ function cleanup_PopGen_run {
(( DEBUG == 0 )) && { [ ! -e "$f" ] && rm "$f" ; }
done

(( DEBUG == 0 )) && ls *.* | "$bindir"/parallel --gnu gzip {}
(( DEBUG == 0 )) && ls *.* | "$bindir"/parallel --gnu --willcite gzip {}

### CALL THE OTHER CLEANUP FUNCTIONS <TODO>

# cd into non_recombinant_cdn_alns & compress FastTree gene tree output files
cd ../../../non_recomb_cdn_alns/ || { msg "ERROR: could not cd into ../../../non_recomb_cdn_alns" ERROR RED ; }

if [[ "$search_algorithm" == "F" ]]; then
(( DEBUG == 0 )) && ls *.log | "$bindir"/parallel --gnu gzip {}
(( DEBUG == 0 )) && ls *.ph | "$bindir"/parallel --gnu gzip {}
(( DEBUG == 0 )) && ls *.log | "$bindir"/parallel --gnu --willcite gzip {}
(( DEBUG == 0 )) && ls *.ph | "$bindir"/parallel --gnu --willcite gzip {}
mkdir src_gene_trees || { msg "ERROR: could not mkdir src_gene_trees ..." ERROR RED ; }
mv ./*.log.gz ./*.ph.gz src_gene_trees
else
(( DEBUG == 0 )) && ls *.log | "$bindir"/parallel --gnu gzip {}
(( DEBUG == 0 )) && ls *.treefile | "$bindir"/parallel --gnu gzip {}
(( DEBUG == 0 )) && ls *.log | "$bindir"/parallel --gnu --willcite gzip {}
(( DEBUG == 0 )) && ls *.treefile | "$bindir"/parallel --gnu --willcite gzip {}

mkdir src_gene_trees || { msg "ERROR: could not mkdir src_gene_trees ..." ERROR RED ; }
mv ./*.log.gz ./*.treefile.gz src_gene_trees
fi

(( DEBUG == 0 )) && ls *.fasta | "$bindir"/parallel --gnu gzip {}
(( DEBUG == 0 )) && ls *.fasta | "$bindir"/parallel --gnu --willcite gzip {}
mkdir src_cdn_alignments || { msg "ERROR: could not mkdir src_cdn_alignments ..." ERROR RED ; }
mv ./*.fasta.gz src_cdn_alignments

Expand Down

0 comments on commit 8412212

Please sign in to comment.