Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
RNA-seq
Manage
Activity
Members
Labels
Plan
Issues
12
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
GUDMAP_RBK
RNA-seq
Commits
6810c5c4
Commit
6810c5c4
authored
4 years ago
by
Gervaise Henry
Browse files
Options
Downloads
Patches
Plain Diff
Update test data creation
parent
6a64dc08
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!58
Develop
,
!56
Resolve "Detect error in inferMetadata for tracking"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test_data/createTestData.sh
+7
-7
7 additions, 7 deletions
test_data/createTestData.sh
with
7 additions
and
7 deletions
test_data/createTestData.sh
+
7
−
7
View file @
6810c5c4
...
...
@@ -17,7 +17,7 @@ cp Q-Y5F6_inputBag.zip ./NEW_test_data/bag/Q-Y5F6_inputBag_xxxxxxxx.zip
mkdir
-p
./NEW_test_data/fastq
unzip ./NEW_test_data/bag/Q-Y5F6_inputBag_xxxxxxxx.zip
singularity run
'docker://gudmaprbk/deriva1.3:1.0.0'
bash ../workflow/scripts/bdbag
F
etch.sh Q-Y5F6_inputBag Q-Y5F6
singularity run
'docker://gudmaprbk/deriva1.3:1.0.0'
bash ../workflow/scripts/bdbag
_f
etch.sh Q-Y5F6_inputBag Q-Y5F6
cp
Q-Y5F6.R1.fastq.gz ./NEW_test_data/fastq/Q-Y5F6.R1.fastq.gz
cp
Q-Y5F6.R2.fastq.gz ./NEW_test_data/fastq/Q-Y5F6.R2.fastq.gz
...
...
@@ -45,11 +45,11 @@ cp metaTest.csv ./NEW_test_data/meta/metaTest.csv
mkdir
-p
./NEW_test_data/bam
mkdir
-p
./NEW_test_data/bam/small
singularity run
'docker://gudmaprbk/hisat2.2.1:1.0.0'
hisat2
-p
20
--add-chrname
--un-gz
Q-Y5F6_1M.se.unal.gz
-S
Q-Y5F6_1M.se.sam
-x
/project/BICF/BICF_Core/shared/gudmap/references/GRCm38.p6.vM2
2
/hisat2/genome
--rna-strandness
F
-U
./NEW_test_data/fastq/small/Q-Y5F6_1M.se_trimmed.fq.gz
--summary-file
Q-Y5F6_1M.se.alignSummary.txt
--new-summary
singularity run
'docker://gudmaprbk/hisat2.2.1:1.0.0'
hisat2
-p
20
--add-chrname
--un-gz
Q-Y5F6_1M.se.unal.gz
-S
Q-Y5F6_1M.se.sam
-x
/project/BICF/BICF_Core/shared/gudmap/references/
new/
GRCm38.p6.vM2
5
/hisat2/genome
--rna-strandness
F
-U
./NEW_test_data/fastq/small/Q-Y5F6_1M.se_trimmed.fq.gz
--summary-file
Q-Y5F6_1M.se.alignSummary.txt
--new-summary
singularity run
'docker://gudmaprbk/hisat2.2.1:1.0.0'
samtools view
-1
-@ 20
-F
4
-F
8
-F
256
-o
Q-Y5F6_1M.se.bam Q-Y5F6_1M.se.sam
singularity run
'docker://gudmaprbk/hisat2.2.1:1.0.0'
samtools
sort
-@ 20
-O
BAM
-o
Q-Y5F6_1M.se.sorted.bam Q-Y5F6_1M.se.bam
singularity run
'docker://gudmaprbk/hisat2.2.1:1.0.0'
samtools index -@ 20
-b
Q-Y5F6_1M.se.sorted.bam Q-Y5F6_1M.se.sorted.bam.bai
singularity run
'docker://gudmaprbk/hisat2.2.1:1.0.0'
hisat2
-p
20
--add-chrname
--un-gz
Q-Y5F6_1M.pe.unal.gz
-S
Q-Y5F6_1M.pe.sam
-x
/project/BICF/BICF_Core/shared/gudmap/references/GRCm38.p6.vM2
2
/hisat2/genome
--rna-strandness
FR
--no-mixed
--no-discordant
-1
./NEW_test_data/fastq/small/Q-Y5F6_1M.pe_val_1.fq.gz
-2
./NEW_test_data/fastq/small/Q-Y5F6_1M.pe_val_2.fq.gz
--summary-file
Q-Y5F6_1M.pe.alignSummary.txt
--new-summary
singularity run
'docker://gudmaprbk/hisat2.2.1:1.0.0'
hisat2
-p
20
--add-chrname
--un-gz
Q-Y5F6_1M.pe.unal.gz
-S
Q-Y5F6_1M.pe.sam
-x
/project/BICF/BICF_Core/shared/gudmap/references/
new/
GRCm38.p6.vM2
5
/hisat2/genome
--rna-strandness
FR
--no-mixed
--no-discordant
-1
./NEW_test_data/fastq/small/Q-Y5F6_1M.pe_val_1.fq.gz
-2
./NEW_test_data/fastq/small/Q-Y5F6_1M.pe_val_2.fq.gz
--summary-file
Q-Y5F6_1M.pe.alignSummary.txt
--new-summary
singularity run
'docker://gudmaprbk/hisat2.2.1:1.0.0'
samtools view
-1
-@ 20
-F
4
-F
8
-F
256
-o
Q-Y5F6_1M.pe.bam Q-Y5F6_1M.pe.sam
singularity run
'docker://gudmaprbk/hisat2.2.1:1.0.0'
samtools
sort
-@ 20
-O
BAM
-o
Q-Y5F6_1M.pe.sorted.bam Q-Y5F6_1M.pe.bam
singularity run
'docker://gudmaprbk/hisat2.2.1:1.0.0'
samtools index -@ 20
-b
Q-Y5F6_1M.pe.sorted.bam Q-Y5F6_1M.pe.sorted.bam.bai
...
...
@@ -82,9 +82,9 @@ cp Q-Y5F6_1M.se.sorted.deduped.chrY.bam.bai ./NEW_test_data/bam/small/Q-Y5F6_1M.
mkdir
-p
./NEW_test_data/counts
mkdir
-p
./NEW_test_data/counts/small
ln
-s
/project/BICF/BICF_Core/shared/gudmap/references/GRCm38.p6.vM2
2
/geneID.tsv
ln
-s
/project/BICF/BICF_Core/shared/gudmap/references/GRCm38.p6.vM2
2
/Entrez.tsv
singularity run
'docker://gudmaprbk/subread2.0.1:1.0.0'
featureCounts
-T
20
-a
/project/BICF/BICF_Core/shared/gudmap/references/GRCm38.p6.vM2
2
/genome.gtf
-G
/project/BICF/BICF_Core/shared/gudmap/references/GRCm38.p6.vM2
2
/genome.fna
-g
'gene_name'
--extraAttributes
'gene_id'
-o
Q-Y5F6_1M.se_countData
-s
1
-R
SAM
--primary
--ignoreDup
./NEW_test_data/bam/small/Q-Y5F6_1M.se.sorted.deduped.bam
ln
-s
/project/BICF/BICF_Core/shared/gudmap/references/
new/
GRCm38.p6.vM2
5/metadata
/geneID.tsv
ln
-s
/project/BICF/BICF_Core/shared/gudmap/references/
new/
GRCm38.p6.vM2
5/metadata
/Entrez.tsv
singularity run
'docker://gudmaprbk/subread2.0.1:1.0.0'
featureCounts
-T
20
-a
/project/BICF/BICF_Core/shared/gudmap/references/
new/
GRCm38.p6.vM2
5/annotation
/genome.gtf
-G
/project/BICF/BICF_Core/shared/gudmap/references/
new/
GRCm38.p6.vM2
5/sequence
/genome.fna
-g
'gene_name'
--extraAttributes
'gene_id'
-o
Q-Y5F6_1M.se_countData
-s
1
-R
SAM
--primary
--ignoreDup
./NEW_test_data/bam/small/Q-Y5F6_1M.se.sorted.deduped.bam
singularity run
'docker://gudmaprbk/subread2.0.1:1.0.0'
Rscript ../workflow/scripts/calculateTPM.R
--count
Q-Y5F6_1M.se_countData
singularity run
'docker://gudmaprbk/subread2.0.1:1.0.0'
Rscript ../workflow/scripts/convertGeneSymbols.R
--repRID
Q-Y5F6_1M.se
cp
Q-Y5F6_1M.se_countData ./NEW_test_data/counts/small/Q-Y5F6_1M.se_countData
...
...
@@ -104,7 +104,7 @@ cp Q-Y5F6_1M.R1_fastqc.zip ./NEW_test_data/fastqc/small/Q-Y5F6_1M.R1_fastqc.zip
echo
-e
"geneID
\t
chrom
\t
tx_start
\t
tx_end
\t
TIN"
>
Q-Y5F6_1M.se.sorted.deduped.tin.xls
for
i
in
{
"chr8"
,
"chr4"
,
"chrY"
}
;
do
echo
"tin.py -i ./NEW_test_data/bam/small/Q-Y5F6_1M.se.sorted.deduped.
${
i
}
.bam -r /project/BICF/BICF_Core/shared/gudmap/references/GRCm38.p6.vM2
2/bed
/genome.bed; cat Q-Y5F6_1M.se.sorted.deduped.
${
i
}
.tin.xls | tr -s
\"\\
w
\"
\"\\
t
\"
| grep -P
\"\\
t
${
i
}
\\
t
\"
;"
;
done
| singularity run
'docker://gudmaprbk/rseqc4.0.0:1.0.0'
parallel
-j
20
-k
>>
Q-Y5F6_1M.se.sorted.deduped.tin.xls
echo
"tin.py -i ./NEW_test_data/bam/small/Q-Y5F6_1M.se.sorted.deduped.
${
i
}
.bam -r /project/BICF/BICF_Core/shared/gudmap/references/
new/
GRCm38.p6.vM2
5/annotation
/genome.bed; cat Q-Y5F6_1M.se.sorted.deduped.
${
i
}
.tin.xls | tr -s
\"\\
w
\"
\"\\
t
\"
| grep -P
\"\\
t
${
i
}
\\
t
\"
;"
;
done
| singularity run
'docker://gudmaprbk/rseqc4.0.0:1.0.0'
parallel
-j
20
-k
>>
Q-Y5F6_1M.se.sorted.deduped.tin.xls
cp
Q-Y5F6_1M.se.sorted.deduped.tin.xls ./NEW_test_data/meta/Q-Y5F6_1M.se.sorted.deduped.tin.xls
chgrp
-R
BICF_Core ./NEW_test_data
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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