Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore data files for gitignore.user #799

Open
jashapiro opened this issue Aug 21, 2024 · 1 comment
Open

Ignore data files for gitignore.user #799

jashapiro opened this issue Aug 21, 2024 · 1 comment

Comments

@jashapiro
Copy link
Member

When creating gitignore.user, I forgot to pay attention to the individual module gitignore files... which means we are not ignoring data files. That's bad. We want to ignore those, but we probably don't want to ignore everything in the data folders and all the same things that we ignore in the main repository.

@jashapiro
Copy link
Member Author

jashapiro commented Aug 22, 2024

Copying suggested additions from Slack:

# Ignore large (or linked) data and reference files for all modules

*/data/*
*/QC/*
*/index/*
# Ignore RDS results files 
*/results/**/*.rds

# But we want to include the QC reports for the sample we ran
# gitignore is odd in how it checks which files to include in nested directories,
# so we have to do some odd stuff

!RNA-seq/QC/gastric-cancer
RNA-seq/QC/gastric-cancer/fastp/*
RNA-seq/QC/gastric-cancer/fastqc/*
!RNA-seq/QC/gastric-cancer/**/SRR585570

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant