Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
magatt
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
UMR GDEC
magatt
Commits
f8cbf714
Commit
f8cbf714
authored
1 year ago
by
Helene Rimbert
Browse files
Options
Downloads
Patches
Plain Diff
BUG : fixed bad rescue on target with gmap
parent
1422ec20
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!9
BUG : fixed bad rescue on target with gmap
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bin/gmapRescue.sh
+13
-8
13 additions, 8 deletions
bin/gmapRescue.sh
config.yaml
+2
-2
2 additions, 2 deletions
config.yaml
with
15 additions
and
10 deletions
bin/gmapRescue.sh
+
13
−
8
View file @
f8cbf714
...
...
@@ -53,16 +53,21 @@ do
echo
" Gene
$geneid
has status UNMAPPED: mapping on the whole genome"
cat
$rootdir
'/query.mrna.fasta'
>>
$unmappedMrnaFasta
&&
rm
$rootdir
'/query.mrna.fasta'
#targetindex=$gmapdb
#targetindexdir=$gmapdbdir
#targetgff=$rootdir'/gmap.wholeGenome.gff3'
#gmapexe='gmapl'
#eval $gmapexe --min-identity 0.80 --min-trimmed-coverage 0.50 --ordered -n 1 -d $targetindex -D $targetindexdir -f 2 $rootdir'/query.mrna.fasta' 1> $targetgff 2> $rootdir'/gmap.wg.log' && rm $rootdir'/query.mrna.fasta'
else
echo
"running gmap on target"
elif
[
-f
"
$rootdir
/GMAPRESCUE"
]
then
echo
" Gene
$geneid
has status GMAPRESCUE: mapping on the target with gmap"
eval
gmap
--ordered
--min-identity
0.80
--min-trimmed-coverage
0.50
-n
1
-g
$rootdir
'/target.fasta'
-f
2
$rootdir
'/query.mrna.fasta'
1>
$targetgff
2>
$rootdir
'/gmap.target.log'
&&
rm
$rootdir
'/query.mrna.fasta'
elif
[
-f
"
$rootdir
/FULLPERFECTMATCH"
]
||
[
-f
"
$rootdir
/FULLMATCHWITHMISSMATCHES"
]
then
echo
" Gene
$geneid
has been mapped on the target with BLAT: next"
else
echo
" FAIL TO EVAL THE ANCHORING STATUS OF GENE
$geneid
: rescue on whole genome"
cat
$rootdir
'/query.mrna.fasta'
>>
$unmappedMrnaFasta
&&
rm
$rootdir
'/query.mrna.fasta'
fi
eval
gmap
--ordered
--min-identity
0.80
--min-trimmed-coverage
0.50
-n
1
-g
$rootdir
'/query.fasta'
-f
2
$rootdir
'/query.mrna.fasta'
1>
$rootdir
'/gmap.query.gff3'
&&
rm
$rootdir
'/query.mrna.fasta'
echo
"3. indexing the query and target genomic"
samtools faidx
$rootdir
'/query.fasta'
&
...
...
This diff is collapsed.
Click to expand it.
config.yaml
+
2
−
2
View file @
f8cbf714
...
...
@@ -19,9 +19,9 @@ transferType: 'first'
# FASTA of the target genome
targetFasta
:
'
data/Triticum_aestivum_arinalrfor.PGSBv2.1.dna.toplevel.fa'
#GMAP index of the genome for -d option
targetGmapIndex
:
'
ensembl_Triticum_aestivum_
julius
_202
2-9
-1
6
'
targetGmapIndex
:
'
ensembl_Triticum_aestivum_
arinalrfor
_202
3-2
-1
7
'
#GMAP index: path to the gmapindex directory, for -D option
targetGmapIndexPath
:
'
/home/herimbert/gdec/shared/triticum_aestivum/
julius
/current/gmapdb/all/'
targetGmapIndexPath
:
'
/home/herimbert/gdec/shared/triticum_aestivum/
arinalrfor
/current/gmapdb/all/'
##### ISBP/markers related config and parameters
# BAM file of markers/ISBPs mapped on the target genome
...
...
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