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
d60479d5
Commit
d60479d5
authored
1 year ago
by
SIRVENT MATTHAUS
Browse files
Options
Downloads
Patches
Plain Diff
IMPROVE: remove 'Chr' strings in grep commands
parent
de255dfd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!7
Missing conda rules
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
.gitignore
+1
-1
1 addition, 1 deletion
.gitignore
config.yaml
+12
-12
12 additions, 12 deletions
config.yaml
rules/envs
+1
-0
1 addition, 0 deletions
rules/envs
rules/preprocessGenomes.smk
+1
-1
1 addition, 1 deletion
rules/preprocessGenomes.smk
rules/preprocessISBP.smk
+1
-1
1 addition, 1 deletion
rules/preprocessISBP.smk
with
16 additions
and
15 deletions
.gitignore
+
1
−
1
View file @
d60479d5
...
...
@@ -5,4 +5,4 @@ resultsDEV
.snakemake
pipeline_v0.1.tar.gz
run_*
slurm
-*.out
slurm
*
This diff is collapsed.
Click to expand it.
config.yaml
+
12
−
12
View file @
d60479d5
##### QUERY related files/parameters (refseqv2.1)
# GFF annotatin to transfert
annotationQuery
:
'
data/IWGSC_refseqv2.1
/IWGSC_refseqv2.1
_annotation.gff3'
annotationQuery
:
'
data/IWGSC_refseqv2.1_annotation
_200916_HC
.gff3'
# feature type used for anchoring on target genome
featureType
:
'
gene'
# FASTA of the query (used to check the sequences after the coordinates are calculated on the target genome)
queryFasta
:
'
/home/herimbert/gdec/shared/triticum_aestivum/chinese_spring/iwgsc/REFSEQV2/v2.1
/CS_p
s
eudo_v2.1.fa'
queryFasta
:
'
data
/CS_pe
s
udo_v2.1.fa'
# blastdb of all mrnas. used to rescue genes which have failed in the transfert using the targeted approache
blastdb
:
'
data/IWGSC_refseqv2.1
/IWGSC_refseqv2.1
_mrna.fa'
blastdb
:
'
data/IWGSC_refseqv2.1
_annotation_200916_HC
_mrna.fa
sta
'
# map of all chromosome ids --> NEED TO BE UPDATED in another version WITH ONE ARRAY FOR THE QUERY AND ONE ARRAY FOR THE TARGET GENOME ASSEMBLY
chromosomes
:
[
'
1A'
,
'
2A'
,
'
3A'
,
'
4A'
,
'
5A'
,
'
6A'
,
'
7A'
,
'
1B'
,
'
2B'
,
'
3B'
,
'
4B'
,
'
5B'
,
'
6B'
,
'
7B'
,
'
1D'
,
'
2D'
,
'
3D'
,
'
4D'
,
'
5D'
,
'
6D'
,
'
7D'
]
refChrom
:
[
'
c
hr1A'
,
'
c
hr1B'
,
'
c
hr1D'
,
'
c
hr2A'
,
'
c
hr2B'
,
'
c
hr2D'
,
'
c
hr3A'
,
'
c
hr3B'
,
'
c
hr3D'
,
'
c
hr4A'
,
'
c
hr4B'
,
'
c
hr4D'
,
'
c
hr5A'
,
'
c
hr5B'
,
'
c
hr5D'
,
'
c
hr6A'
,
'
c
hr6B'
,
'
c
hr6D'
,
'
c
hr7A'
,
'
c
hr7B'
,
'
c
hr7D'
,
'
c
hrUn'
]
refChrom
:
[
'
C
hr1A'
,
'
C
hr1B'
,
'
C
hr1D'
,
'
C
hr2A'
,
'
C
hr2B'
,
'
C
hr2D'
,
'
C
hr3A'
,
'
C
hr3B'
,
'
C
hr3D'
,
'
C
hr4A'
,
'
C
hr4B'
,
'
C
hr4D'
,
'
C
hr5A'
,
'
C
hr5B'
,
'
C
hr5D'
,
'
C
hr6A'
,
'
C
hr6B'
,
'
C
hr6D'
,
'
C
hr7A'
,
'
C
hr7B'
,
'
C
hr7D'
,
'
C
hrUn'
]
##### Transfert mode
# transfert all isoforms (all) or only the '.1' (first)
transferType
:
'
first'
##### TARGET related files/parameters
(julius)
targetFasta
:
'
data/
Renan_pseudo.fast
a'
##### TARGET related files/parameters
targetFasta
:
'
data/
Triticum_aestivum_arinalrfor.PGSBv2.1.dna.toplevel.f
a'
##### ISBP/markers related config and parameters
# BAM file of markers/ISBPs mapped on the target genome
(Julius)
isbpBam
:
'
data/Renan_isbps
.bam'
# BAM file of markers/ISBPs mapped on the target genome
isbpBam
:
'
/home/masirvent/wheat10plus-pangenome/data/mappingISBP/session2/arina/arina_CS_ISBP
.bam'
# BED file of coordinates on the query genome (REFSEQ v2.1)
isbpBed
:
'
data/
IWGSC_refseqv2.1/IWGSC_
ref
s
eqv2.1
_isbp
.bed'
isbpBed
:
'
data/
Tae.Chinese_Spring.
ref
S
eqv2.1
.ISBPs
.bed'
# minimum mapping quality of markers on the target genome
mapq
:
30
# max mismatches per ISBP/marker
...
...
@@ -30,13 +30,13 @@ mismatches: 2
##### OUTPUT directory
results
:
'
results'
finalPrefix
:
'
TaeRe
na
n
_magatt
_2109
'
finalPrefix
:
'
ari
na_magatt'
# this file contains two columns: the first is the chromosome name as it appears in the genome.fasta of the new reference,
# and the second the chromosome name as it will appear in the new gene Names
chromMapID
:
'
data/chromosomeMappingID.csv
'
chromMapID
:
'
/home/masirvent/wheat10plus-pangenome/data/liftoff/arina/chromstab.txt
'
##### Nomenclature for final gene IDs
# used in rule renameGeneIds (rules/geneAnchoring.smk)
gff_prefix
:
'
TraesR
N
'
gff_prefix
:
'
Traes
A
R'
gff_version
:
'
01G'
gff_source
:
'
MAGATT-IWGSCCSv2.1'
This diff is collapsed.
Click to expand it.
rules/envs
0 → 120000
+
1
−
0
View file @
d60479d5
../envs
\ No newline at end of file
This diff is collapsed.
Click to expand it.
rules/preprocessGenomes.smk
+
1
−
1
View file @
d60479d5
...
...
@@ -13,7 +13,7 @@ rule splitGffPerChrom:
input: config['results']+"/1.features.bed"
output: temp(config['results']+"/1.features/{chrom}.bed")
log: config['results']+"/1.features/{chrom}.fgrep.log"
params: "
chr
{chrom}"
params: "{chrom}"
shell: "fgrep -i {params} {input} 1> {output} 2> {log}"
rule indexQuery:
...
...
This diff is collapsed.
Click to expand it.
rules/preprocessISBP.smk
+
1
−
1
View file @
d60479d5
...
...
@@ -13,7 +13,7 @@ rule bam2bed:
input: config['results']+"/1.filteredISBPs.bam"
output: config['results']+"/1.filteredISBPs/{chrom}/sorted.bed"
log: config['results']+"/1.filteredISBPs/{chrom}/sorted.log"
params: '
Chr
{chrom}'
params: '{chrom}'
shell: "bamToBed -i {input} |fgrep -i {params}|cut -d ':' -f 1|sort -k1,1 -k2,2n 1> {output} 2> {log}"
...
...
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