Skip to content

Commit

Permalink
fix empty files incompatible with dropbox
Browse files Browse the repository at this point in the history
  • Loading branch information
tavareshugo committed Jul 25, 2023
1 parent cf9b365 commit 5f069ff
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions utilities/prep_data/06-prepare_participant_files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,12 @@ cp -r utilities/prep_data/data/reads_sampled course_files/participants/data/read
# copy all results
cp -r utilities/prep_data/results course_files/participants/preprocessed

# space-saving: remove BAM files and replace them with empty mock files
find course_files/participants/preprocessed -type f -name "*.bam" -delete -exec touch {} \;
# space-saving: remove BAM files and replace them with mock files
for i in $(find course_files/participants/preprocessed -type f -name "*.bam")
do
rm $i
echo 'These are empty placeholder files for demonstration purposes only' > $i
done

# space-saving: remove genome directory
rm -r course_files/participants/preprocessed/nf-chipseq/genome
Expand Down

0 comments on commit 5f069ff

Please sign in to comment.