Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tasks
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
biowdl
tasks
Commits
1e0fd640
Commit
1e0fd640
authored
5 years ago
by
JB
Browse files
Options
Downloads
Patches
Plain Diff
Update TranscriptClean to version 2.0.2
parent
9b385071
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.md
+1
-0
1 addition, 0 deletions
CHANGELOG.md
transcriptclean.wdl
+17
-91
17 additions, 91 deletions
transcriptclean.wdl
with
18 additions
and
91 deletions
CHANGELOG.md
+
1
−
0
View file @
1e0fd640
...
...
@@ -11,6 +11,7 @@ that users understand how the changes affect the new version.
version 2.0.0
---------------------------
+
TranscriptClean: Update TranscriptClean to version 2.0.2
+
Memory runtime attributes are now Strings indicating total memory, as opposed to Ints indicating memory per core.
+
Memory inputs for most tasks are now Strings, remaining Int memory inputs are renamed to "memoryGb".
+
Use the biowdl-input-converter container for JsonToYaml, to reduce the amount of containers needed.
...
...
This diff is collapsed.
Click to expand it.
transcriptclean.wdl
+
17
−
91
View file @
1e0fd640
...
...
@@ -20,88 +20,6 @@ version 1.0
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
task CleanSpliceJunctions {
input {
File SAMfile
File referenceGenome
String outputPrefix
File spliceJunctionAnnotation
File? variantFile
Int cores = 1
String memory = "4G"
String dockerImage = "biocontainers/transcriptclean:v1.0.8_cv1"
}
command {
set -e
mkdir -p $(dirname ~{outputPrefix})
clean_splice_jns \
~{"--f=" + SAMfile} \
~{"--g=" + referenceGenome} \
~{"--o=" + outputPrefix} \
~{"--s=" + spliceJunctionAnnotation} \
~{"--v=" + variantFile}
}
output {
File outputCleanedSAM = outputPrefix + "_clean.sam"
}
runtime {
cpu: cores
memory: memory
docker: dockerImage
}
parameter_meta {
SAMfile: "Input SAM file"
referenceGenome: "Reference genome fasta file."
outputPrefix: "Output directory path + output file prefix."
spliceJunctionAnnotation: "Splice junction file"
variantFile: "VCF formatted file of variants"
outputCleanedSAM: "Cleaned sam output file."
}
}
task GetCorrectedSJsFromLog {
input {
File TElogFile
String outputPrefix
Int cores = 1
String memory = "5G"
String dockerImage = "biocontainers/transcriptclean:v1.0.8_cv1"
}
command {
set -e
mkdir -p $(dirname ~{outputPrefix})
get_corrected_SJs_from_log \
~{TElogFile} \
~{outputPrefix + ".tsv"}
}
output {
File outputCorrectedSJs = outputPrefix + ".tsv"
}
runtime {
cpu: cores
memory: memory
docker: dockerImage
}
parameter_meta {
TElogFile: "TE log from TranscriptClean."
outputPrefix: "Output directory path + output file prefix."
outputCorrectedSJs: "Formely noncanonical splice junctions in BED format."
}
}
task GetSJsFromGtf {
input {
File GTFfile
...
...
@@ -111,7 +29,7 @@ task GetSJsFromGtf {
Int cores = 1
String memory = "8G"
String dockerImage = "biocontainers/transcriptclean:v
1
.0.
8
_cv1"
String dockerImage = "biocontainers/transcriptclean:v
2
.0.
2
_cv1"
}
command {
...
...
@@ -151,7 +69,7 @@ task GetTranscriptCleanStats {
Int cores = 1
String memory = "4G"
String dockerImage = "biocontainers/transcriptclean:v
1
.0.
8
_cv1"
String dockerImage = "biocontainers/transcriptclean:v
2
.0.
2
_cv1"
}
command {
...
...
@@ -189,16 +107,18 @@ task TranscriptClean {
Int maxSJoffset = 5
Boolean correctMismatches = true
Boolean correctIndels = true
Boolean correctSJs = true
Boolean dryRun = false
Boolean primaryOnly = false
Boolean canonOnly = false
Int bufferSize = 100
File? spliceJunctionAnnotation
File? variantFile
Boolean? correctSJs
Int cores = 1
String memory = "25G"
String dockerImage = "biocontainers/transcriptclean:v
1
.0.
8
_cv1"
String dockerImage = "biocontainers/transcriptclean:v
2
.0.
2
_cv1"
}
command {
...
...
@@ -212,11 +132,14 @@ task TranscriptClean {
~{"-v " + variantFile} \
~{"--maxLenIndel=" + maxLenIndel} \
~{"--maxSJOffset=" + maxSJoffset} \
~{true="-m
CORRECTMISMATCHES
" false="-m false" correctMismatches} \
~{true="-i
CORRECTINDELS
" false="-i false" correctIndels} \
~{true="--correctSJs=
CORRECTSJS
" false="--correctSJs=false" correctSJs} \
~{true="-m
true
" false="-m false" correctMismatches} \
~{true="-i
true
" false="-i false" correctIndels} \
~{true="--correctSJs=
true
" false="--correctSJs=false" correctSJs} \
~{true="--dryRun" false="" dryRun} \
~{true="--primaryOnly" false="" primaryOnly}
~{true="--primaryOnly" false="" primaryOnly} \
~{true="--canonOnly" false="" canonOnly} \
~{"--bufferSize=" + bufferSize} \
~{"-t " + cores}
}
output {
...
...
@@ -236,7 +159,8 @@ task TranscriptClean {
SAMfile: "Input SAM file containing transcripts to correct."
referenceGenome: "Reference genome fasta file."
outputPrefix: "Output directory path + output file prefix."
spliceJunctionAnnotation: "Splice junction file"
spliceJunctionAnnotation: "Splice junction file."
variantFile: "VCF formatted file of variants."
maxLenIndel: "Maximum size indel to correct."
maxSJoffset: "Maximum distance from annotated splice junction to correct."
correctMismatches: "Set this to make TranscriptClean correct mismatches."
...
...
@@ -244,6 +168,8 @@ task TranscriptClean {
correctSJs: "Set this to make TranscriptClean correct splice junctions."
dryRun: "TranscriptClean will read in the data but don't do any correction."
primaryOnly: "TranscriptClean will only output primary mappings of transcripts."
canonOnly: "TranscriptClean will output only canonical transcripts and transcript containing annotated noncanonical junctions."
bufferSize: "Number of lines to output to file at once by each thread during run."
outputTranscriptCleanFasta: "Fasta file containing corrected reads."
outputTranscriptCleanLog: "Log file of TranscriptClean run."
...
...
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