-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1408 from broadinstitute/staging
staging --> master
- Loading branch information
Showing
63 changed files
with
562 additions
and
190 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
version 1.0 | ||
|
||
task generate_positioning { | ||
input { | ||
Array[String] rna_paths | ||
String sb_path | ||
Int mem_GiB = 128 | ||
Int disk_GiB = 128 | ||
Int nthreads = 16 | ||
String docker | ||
} | ||
command <<< | ||
set -euo pipefail | ||
set -x | ||
echo "<< starting spatial-count >>" | ||
|
||
gcloud config set storage/process_count 16 # is this set by user? | ||
gcloud config set storage/thread_count 2 # is this set by user? | ||
|
||
# Download the scripts -- these need to be changed -- also need to add to docker | ||
wget https://raw.githubusercontent.com/MacoskoLab/Macosko-Pipelines/ee005109446f58764509ee47ff51c212ce8dabe3/positioning/positioning.R | ||
wget https://raw.githubusercontent.com/MacoskoLab/Macosko-Pipelines/6a78716aa08a9f2506c06844f7e3fd491b03aa8b/positioning/load_matrix.R | ||
wget https://raw.githubusercontent.com/MacoskoLab/Macosko-Pipelines/a7fc86abbdd3d46461c500e7d024315d88a97e9a/positioning/run-positioning.R | ||
|
||
echo "RNA: ~{sep=' ' rna_paths}" | ||
echo "SB: ~{sb_path}" | ||
|
||
# Assert that the RNA files exist | ||
rnas=(~{sep=' ' rna_paths}) | ||
for rna in "${rnas[@]}" ; do | ||
if ! gsutil stat "$rna" &> /dev/null ; then | ||
echo "ERROR: gsutil stat command failed on file $rna" | ||
exit 1 | ||
fi | ||
done | ||
|
||
# Download the RNA | ||
echo "Downloading RNA:" | ||
mkdir RNA | ||
gcloud storage cp ~{sep=' ' rna_paths} RNA | ||
|
||
# Assert that the SB file exists | ||
if ! gsutil stat "~{sb_path}" &> /dev/null ; then | ||
echo "ERROR: gsutil stat command failed on file ~{sb_path}" | ||
exit 1 | ||
fi | ||
|
||
# Download the SB | ||
echo "Downloading SB:" | ||
mkdir SB | ||
gcloud storage cp ~{sb_path} SB | ||
|
||
# Run the script | ||
echo ; echo "Running run-positioning.R" | ||
Rscript run-positioning.R RNA SB output | ||
|
||
# Upload the results | ||
ls output/* | ||
|
||
if [[ -f output/seurat.qs ]] ; then | ||
echo "true" > DONE | ||
else | ||
echo ; echo "ERROR: CANNOT FIND: seurat.qs" | ||
fi | ||
|
||
echo; echo "Writing logs:" | ||
echo; echo "RNA size:"; du -sh RNA | ||
echo; echo "SB size:"; du -sh SB | ||
echo; echo "output size:"; du -sh output | ||
echo; echo "FREE SPACE:"; df -h | ||
|
||
echo "tar files/logs" | ||
cat stdout stderr > positioning.log | ||
tar -zcvf output.tar.gz output | ||
echo "<< completed positioning >>" | ||
>>> | ||
|
||
output { | ||
File output_file = "output.tar.gz" | ||
File positioning_log = "positioning.log" | ||
} | ||
|
||
runtime { | ||
docker: docker | ||
memory: "~{mem_GiB} GB" | ||
disks: "local-disk ~{disk_GiB} SSD" | ||
cpu: nthreads | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,40 @@ | ||
Pipeline Name Version Date of Last Commit | ||
CheckFingerprint 1.0.21 2024-09-06 | ||
CheckFingerprint 1.0.22 2024-10-28 | ||
RNAWithUMIsPipeline 1.0.17 2024-09-06 | ||
AnnotationFiltration 1.2.6 2024-09-06 | ||
UltimaGenomicsWholeGenomeGermline 1.1.0 2024-09-06 | ||
WholeGenomeGermlineSingleSample 3.3.1 2024-09-17 | ||
ExomeGermlineSingleSample 3.2.1 2024-09-17 | ||
UltimaGenomicsWholeGenomeGermline 1.1.1 2024-10-28 | ||
WholeGenomeGermlineSingleSample 3.3.2 2024-10-28 | ||
ExomeGermlineSingleSample 3.2.2 2024-10-28 | ||
JointGenotypingByChromosomePartTwo 1.5.1 2024-09-10 | ||
JointGenotypingByChromosomePartOne 1.5.1 2024-09-10 | ||
ReblockGVCF 2.3.0 2024-09-06 | ||
ReblockGVCF 2.3.1 2024-10-28 | ||
JointGenotyping 1.7.1 2024-09-10 | ||
UltimaGenomicsJointGenotyping 1.2.1 2024-09-10 | ||
VariantCalling 2.2.2 2024-09-06 | ||
UltimaGenomicsWholeGenomeCramOnly 1.0.21 2024-09-06 | ||
VariantCalling 2.2.3 2024-10-28 | ||
UltimaGenomicsWholeGenomeCramOnly 1.0.22 2024-10-28 | ||
GDCWholeGenomeSomaticSingleSample 1.3.3 2024-09-06 | ||
BroadInternalRNAWithUMIs 1.0.34 2024-09-06 | ||
BroadInternalUltimaGenomics 1.1.0 2024-09-06 | ||
BroadInternalArrays 1.1.12 2024-09-06 | ||
BroadInternalRNAWithUMIs 1.0.35 2024-09-06 | ||
BroadInternalUltimaGenomics 1.1.1 2024-10-28 | ||
BroadInternalArrays 1.1.13 2024-10-28 | ||
BroadInternalImputation 1.1.13 2024-09-06 | ||
Arrays 2.6.28 2024-09-06 | ||
Arrays 2.6.29 2024-10-28 | ||
ValidateChip 1.16.6 2024-09-06 | ||
MultiSampleArrays 1.6.2 2024-08-02 | ||
Imputation 1.1.14 2024-09-06 | ||
IlluminaGenotypingArray 1.12.22 2024-09-06 | ||
ExternalWholeGenomeReprocessing 2.3.1 2024-09-17 | ||
ExternalExomeReprocessing 3.3.1 2024-09-17 | ||
IlluminaGenotypingArray 1.12.23 2024-10-28 | ||
ExternalWholeGenomeReprocessing 2.3.2 2024-10-28 | ||
ExternalExomeReprocessing 3.3.2 2024-10-28 | ||
CramToUnmappedBams 1.1.3 2024-08-02 | ||
WholeGenomeReprocessing 3.3.1 2024-09-17 | ||
ExomeReprocessing 3.3.1 2024-09-17 | ||
WholeGenomeReprocessing 3.3.2 2024-10-28 | ||
ExomeReprocessing 3.3.2 2024-10-28 | ||
BuildIndices 3.0.0 2023-12-06 | ||
scATAC 1.3.2 2023-08-03 | ||
snm3C 4.0.4 2024-08-06 | ||
Multiome 5.7.1 2024-10-18 | ||
PairedTag 1.7.1 2024-10-18 | ||
Multiome 5.8.0 2024-10-23 | ||
PairedTag 1.8.0 2024-10-23 | ||
MultiSampleSmartSeq2 2.2.22 2024-09-11 | ||
MultiSampleSmartSeq2SingleNucleus 2.0.1 2024-09-24 | ||
Optimus 7.7.0 2024-09-24 | ||
atac 2.3.2 2024-10-18 | ||
MultiSampleSmartSeq2SingleNucleus 2.0.2 2024-10-23 | ||
Optimus 7.8.0 2024-10-23 | ||
atac 2.4.0 2024-10-23 | ||
SmartSeq2SingleSample 5.1.21 2024-09-11 | ||
SlideSeq 3.4.2 2024-09-24 | ||
SlideSeq 3.4.3 2024-10-24 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
...nes/broad/dna_seq/germline/joint_genotyping/reblocking/ReblockGVCF.changelog.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
...oad/dna_seq/germline/single_sample/exome/ExomeGermlineSingleSample.changelog.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
...seq/germline/single_sample/ugwgs/UltimaGenomicsWholeGenomeGermline.changelog.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
...dna_seq/germline/single_sample/wgs/WholeGenomeGermlineSingleSample.changelog.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
pipelines/broad/dna_seq/germline/variant_calling/VariantCalling.changelog.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
..._seq/somatic/single_sample/ugwgs/UltimaGenomicsWholeGenomeCramOnly.changelog.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
pipelines/broad/genotyping/illumina/IlluminaGenotypingArray.changelog.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
pipelines/broad/internal/arrays/single_sample/BroadInternalArrays.changelog.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.