Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
trio-whole-exome
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
Container Registry
Model registry
Operate
Environments
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
igmmbioinformatics
trio-whole-exome
Commits
ee1d7827
Commit
ee1d7827
authored
3 years ago
by
ameyner2
Browse files
Options
Downloads
Patches
Plain Diff
Using version/base project id to group output
parent
1c0222e9
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
submit_trio_wes_checksums.sh
+4
-2
4 additions, 2 deletions
submit_trio_wes_checksums.sh
submit_trio_wes_cram_compression.sh
+4
-2
4 additions, 2 deletions
submit_trio_wes_cram_compression.sh
with
8 additions
and
4 deletions
submit_trio_wes_checksums.sh
+
4
−
2
View file @
ee1d7827
...
@@ -25,9 +25,11 @@ source $CONFIG_SH
...
@@ -25,9 +25,11 @@ source $CONFIG_SH
FAMILY_ID
=
`
head
-n
$PBS_ARRAY_INDEX
$PARAMS_DIR
/
$PROJECT_ID
.family_ids.txt |
tail
-n
1
`
FAMILY_ID
=
`
head
-n
$PBS_ARRAY_INDEX
$PARAMS_DIR
/
$PROJECT_ID
.family_ids.txt |
tail
-n
1
`
# This assumes that ${PROJECT_ID}_${FAMILY_ID} is unique, and it should be - if there was
BASE_PROJECT_ID
=
`
echo
$PROJECT_ID
|
cut
-f
1
-d
'_'
`
# This assumes that ${VERSION}_${PROJECT_ID}_${FAMILY_ID} is unique, and it should be - if there was
# a re-run of a family, it should have a new project id.
# a re-run of a family, it should have a new project id.
cd
$OUTPUT_DIR
/
*${
VERSION
}
_
${
PROJECT_ID
}
_
${
FAMILY_ID
}*
cd
$OUTPUT_DIR
/
${
VERSION
}
_
${
BASE_PROJECT_ID
}
/
*${
VERSION
}
_
${
PROJECT_ID
}
_
${
FAMILY_ID
}*
rm
md5sum.txt 2> /dev/null
rm
md5sum.txt 2> /dev/null
...
...
This diff is collapsed.
Click to expand it.
submit_trio_wes_cram_compression.sh
+
4
−
2
View file @
ee1d7827
...
@@ -25,9 +25,11 @@ source $CONFIG_SH
...
@@ -25,9 +25,11 @@ source $CONFIG_SH
FAMILY_ID
=
`
head
-n
$PBS_ARRAY_INDEX
$PARAMS_DIR
/
$PROJECT_ID
.family_ids.txt |
tail
-n
1
`
FAMILY_ID
=
`
head
-n
$PBS_ARRAY_INDEX
$PARAMS_DIR
/
$PROJECT_ID
.family_ids.txt |
tail
-n
1
`
# This assumes that ${PROJECT_ID}_${FAMILY_ID} is unique, and it should be - if there was
BASE_PROJECT_ID
=
`
echo
$PROJECT_ID
|
cut
-f
1
-d
'_'
`
# This assumes that ${VERSION}_${PROJECT_ID}_${FAMILY_ID} is unique, and it should be - if there was
# a re-run of a family, it should have a new project id.
# a re-run of a family, it should have a new project id.
cd
$OUTPUT_DIR
/
*${
VERSION
}
_
${
PROJECT_ID
}
_
${
FAMILY_ID
}*
cd
$OUTPUT_DIR
/
${
VERSION
}
_
${
BASE_PROJECT_ID
}
/
*${
VERSION
}
_
${
PROJECT_ID
}
_
${
FAMILY_ID
}*
for
BAM
in
*
/
*
.bam
for
BAM
in
*
/
*
.bam
do
do
...
...
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