Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hic
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LBMC
Hub
hic
Commits
c441cecd
Verified
Commit
c441cecd
authored
1 year ago
by
Laurent Modolo
Browse files
Options
Downloads
Patches
Plain Diff
run.sh: add resume tag
parent
b7471088
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
run.sh
+33
-0
33 additions, 0 deletions
run.sh
with
33 additions
and
0 deletions
run.sh
0 → 100644
+
33
−
0
View file @
c441cecd
cd
data/
# Download the fastq
awk
'{system("fasterq-dump "$0)}'
SRR_Acc_List.txt
ls
-l
*
.fastq
\
|
awk
'{system("gzip "$9)}'
# Download the fasta
aws s3
--no-sign-request
--region
eu-west-1
sync
s3://ngi-igenomes/igenomes/Homo_sapiens/Ensembl/GRCh37/Sequence/WholeGenomeFasta/ ./GRCh37/
aws s3
--no-sign-request
--region
eu-west-1
sync
s3://ngi-igenomes/igenomes/Mus_musculus/Ensembl/GRCm38/Sequence/WholeGenomeFasta/ ./GRCm38/
# Concatenate the fasta
cat
GRCh37/genome.fa
\
|
sed
-E
's/(>.*)/\1_GRCh37/g'
\
>
GRCh37_GRCm38_mix.fa
cat
GRCm38/genome.fa
\
|
sed
-E
's/(>.*)/\1_GRCm38/g'
\
>>
GRCh37_GRCm38_mix.fa
cd
../
nextflow run main.nf
\
-profile
psmn
\
--workflow
hicpro
\
--input
data/sample.csv
\
--fasta
data/GRCh37_GRCm38_mix.fa
\
--outdir
results/
\
--digestion
hindiii
\
--keep_dups
\
--filter_pcr_picard
\
-resume
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment